Choice

Creates an enumeration (choice), shown as a dropdown.


Inputs

  • value

    • The option index and text to output.
  • options

    • A comma separated list of options (e.g. Option1,Option2,Option3).
  • index offset

    • Offset the chosen option index by this value.
  • default index

    • The default option index to output when the set to default input is set to true or the value input is reset.
  • set to default

    • Sets the value input to the option index defined by the default index input.
  • reset mode

    • Sets the mode in which the option index is reset to the value defined by the default index input. This can be when any input changes (resets the value input whenever a connected input is changed) or do not reset index (does not reset the value input at all).
  • hide control

    • Hides the parameter control within the parameter panel when the node is parameterized.
  • hide label

    • Hides the parameter label (name) within the parameter panel when the node is parameterized.

Outputs

  • value

    • The chosen option index as defined by the value input (with offset as defined by the index offset input).
  • text

    • The chosen option text as defined by the value input.

Note(s)

  • When parameterized this node will appear as a dropdown in the parameter panel.

  • Other names for this node include: EnumValue, Dropdown, Menu, Choose, Enum, Enumeration, Parameter.

Examples