Node Enum Parameter - anticto/Mutable-Documentation GitHub Wiki

Function

Exposes a parameter offering multiple choices to modify the Customizable Object. It also defines a default value. It's abstract, it does not define what type those options refer to. It is usually linked to a switch nodes. This allows changing textures, meshes, colors and numbers at the same time when a single enum parameter changes.

Use Cases

Change a mesh that can have at most one version active at any time, like offer the option to chose what glasses is a character wearing, if any. Change the emblem that's stitched to the shoulder-pad, knee-cap and shield of an armored knight. Offer many different cybernetic implants to the ear area of a character, changing the mesh and the underlying texture at the same time for visual consistency.

Node Properties

Default Index: Option selected by default, when none has been explicitly chosen. It refers to an index in the Values array below.

Parameter Name: Name of the enum parameter defined by the node. It has to be unique within all the parameters in this customizable object hierarchy. Used when coding or within blueprints to refer to this parameter.

Values: Options offered by this enum.

  • Name: Name of the option
  • Parameter UI Metadata: Metadata associated to this single enumeration option.

Output Pins

Value: Enumeration defined by this parameter. It signals what option is currently chosen to all the nodes that take it as input.