Box
Box
Box : X3DGeometryNode { SFNode [in,out] metadata NULL [X3DMetadataObject] SFVec3f [] size 2 2 2 (0,∞) SFBool [] solid TRUE }
SFNode | [in,out] | metadata | NULL | [X3DMetadataObject] | SFVec3f | [] | size | 2 2 2 | (0,∞) | SFBool | [] | solid | TRUE
} The Box node specifies a rectangular parallelepiped box centred at (0, 0, 0) in the local coordinate system and aligned with the local coordinate axes. By default, the box measures 2 units in each dimension, from -1 to +1. The size field specifies the extents of the box along the X-, Y-, and Z-axes respectively and each component value shall be greater than zero. Figure 1 illustrates the Box node. Figure 1 - Box node
Authoring TipThe size of a box cannot be changed after its creation. In order to change its size you need to place it in a Transform node and change its scale field. Implementation TipThe size field is made initializeOnly so implementations can optimize memory and bus bandwidth under the covers. All instances with the same size can share the same geometry instance. |