Provides script language access to C++ objects of this type.
Class Hierarchy | Type » Node » VariableNode » VariableArrayNode » ColorArrayNode |
Function members are as follows:
Return Type | Function Name | Documentation |
---|---|---|
int32 | ClampValue | Sets the value stored by this <Node> if and only if the value is within the range values specified by this <Node>. |
<ColorArray> | GetArray | Returns a pointer to the underlying array object. |
int32 | GetCount | Returns the count of the underlying array object. |
string | GetTypeString | Returns a string containing the type of the ColorArrayNode. For example: vec4. |
Object members are as follows:
Type Name | Accessor Name | Documentation |
---|---|---|
Color[] | Objects[ index ] | Gets or sets the value of an element in the array at the specified index. The syntax is array.Objects[ n ], where n is a valid index into the array. |
<Uint8VectorRange> | Range | Returns a pointer to this <Node> object's range management object. |
<ColorArray> | Value | Returns the value of this object's underlying <ColorArray>. For example: to assign the value of this object to another <ColorArray>. |
int32 | Dimension | Returns the dimension of this object, which is always 4 since a <Color> object is always vec4. |