instantreality 1.0

MFVec4f

The MFVec4f object corresponds to an X3D MFVec4f field.

It is used to store a one-dimensional array of SFVec4f values. Individual elements of the array can be referenced using the standard C-style dereferencing operator (e.g., mfVec4fObjectName[index], where index is an integer-valued expression with 0 <= index < length and length is the number of elements in the array). Assigning to an element with index >= length results in the array being dynamically expanded to contain length elements. All elements not explicitly initialized are set to SFVec4f (0.0, 0.0, 0.0, 0.0).

Properties

TypePropertyDescriptionStandard
numberlength

Property for getting/setting the number of elements in the array.

Avalon

Functions

Return typeFunctionDescriptionStandard
StringtoString()

Returns a String containing the value of the MFVec4f using the X3D Classic VRML encoding.

Avalon