MFRotation
The MFRotation object corresponds to a X3D MFRotation field.
It is used to store a one-dimensional array of SFRotation objects. Individual elements of the array can be referenced using the standard dereferencing operator (e.g., mfRotationObjectName[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 SFRotation (0, 0, 1, 0).
Properties
Type | Property | Description | Standard |
---|---|---|---|
number | length | Property for getting/setting the number of elements in the array.
| X3D2.0 |
Functions
Return type | Function | Description | Standard |
---|---|---|---|
String | toString() | Returns a String containing the value of the MFRotation using the X3D Classic VRML encoding.
| Avalon |