Provides script language access to C++ objects of this type.
Class Hierarchy | Type » Node » VariableNode » Uint8VectorNode |
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>. |
uint32 | GetComponent | Returns the component of the vector at the specified index. |
int32 | GetCount | Returns the count of the underlying vector, which will always be equivalent to vec4. |
int32 | SetComponent | Sets the component of the vector at the specified index. |
Object members are as follows:
Type Name | Accessor Name | Documentation |
---|---|---|
<Uint8VectorRange> | Range | Returns a pointer to this <Node> object's range management object. |
<Uint8Vector> | Value | Returns a pointer to the underlying <Uint8Vector> object. |
int32 | Dimension | Gets or sets the dimension ( 2, 3, or 4 ) of the vector represented by the <Node>. Note that the internal <Uint8Vector> object is always vec4, but changing the dimension here can affect how the data is sent to the GPU. |