Defines properties of an enum-valued channel. A channel_enum channel type can support a pre-determined mapping from a string to an integer index value.
Name | Description | Default | Required |
---|---|---|---|
value | An int representing the default index value for the parameter. | 0 | no |
enum_values | An array of string values representing the enumerated values for the parameter. | {empty} | no |
The current_value attribute is overridden anytime an animation is associated with the channel.
{ "id" : "Lighting Model", "type" : "enum", "name" : "Lighting Model", "label" : "Lighting Model", "value" : 0, "enum_values" : [ "Plastic", "Metallic", "Skin", "Glossy (Plastic)", "Matte", "Glossy (Metallic)" ] }