The Texture trigger enables to start or stop a behavior by returning true when the position of the root bone of an Entity is contained in a zone of a specified color of a Maya 2d or 3d Texture.
A Texture Trigger defines the following specific attributes. For common attributes see Trigger Common Attributes.
In Mesh | Link to the Maya mesh used to extract the uv from (only if the texture mapped in the In Texture is a 2dtexture) |
In Texture | Link to the Maya texture (2d or 3d) to check |
Operator | A comparison operator (equal, greater than…) |
Value Combination | Is the condition matched if one of it is true (OR), or all (AND) ? |
Value Array[] | A reference color value. For comparisons such as "greater than" and "lesser than", it's the lightness value of the color which is used (e.g. light blue > blue > dark blue) |
Threshold | Error allowed between the texture current color and the reference color for the trigger to return true |