<ColorArrayNode> Data Interface

Provides script language access to C++ objects of this type.

Class HierarchyType » Node » VariableNode » VariableArrayNode » ColorArrayNode

Function Members

Function members are as follows:

Return Type Function Name Documentation
int32ClampValueSets the value stored by this <Node> if and only if the value is within the range values specified by this <Node>.
<ColorArray>GetArrayReturns a pointer to the underlying array object.
int32GetCountReturns the count of the underlying array object.
stringGetTypeStringReturns a string containing the type of the ColorArrayNode. For example: vec4.

Object Members

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>RangeReturns a pointer to this <Node> object's range management object.
<ColorArray>ValueReturns the value of this object's underlying <ColorArray>. For example: to assign the value of this object to another <ColorArray>.
int32DimensionReturns the dimension of this object, which is always 4 since a <Color> object is always vec4.