X3D Transform

Transform • Example

Defines a 3D transformation for its child nodes relative to the nodes ancestors which allows you to control the scale, rotation and translation/position of a node or group of nodes.

Grouping

children

Field Type: MFNode
Access Type: inputOutput
Default Value: Empty Array
Value Range: X3DChildNode
Description: Contains the set of children for transformation.

addChildren

Field Type: MFNode
Access Type: inputOnly
Default Value: ...
Value Range: X3DChildNode
Description: Appends a node to the transforms children field.

removeChildren

Field Type: MFNode
Access Type: inputOnly
Default Value: ...
Value Range: X3DChildNode
Description: Removes nodes from the childrens field.

center

Field Type: SFVec3f
Access Type: inputOutput
Default Value: 0 0 0
Value Range: -∞, ∞
Description: Sets a translation offset from the origin of local coordinate system.

rotation

Field Type: SFRotation
Access Type: inputOutput
Default Value: 0 0 1 0
Value Range: (-1, 1) or (-∞, ∞)
Description: Rotates the coordinate system.

scale

Field Type: SFVec3f
Access Type: inputOutput
Default Value: 1 1 1
Value Range: -∞, ∞
Description: A non-uniform scale of the coordinate system.

scaleOrientation

Field Type: SFRotation
Access Type: inputOutput
Default Value: 0 0 1 0
Value Range: (-1, 1) or (-∞, ∞)
Description: Sets a rotation before the scale. Applies only to scale.

translation

Field Type: SFVec3f
Access Type: inputOutput
Default Value: 0 0 0
Value Range: -∞, ∞
Description: A translation of the coordinate system.

bboxSize

Field Type: SFVec3f
Access Type: initializeOnly
Default Value: -1 -1 -1
Value Range: (0, ∞) or -1 -1 -1
Description: A hint to the browser and could be used for optimization purposes such as culling.

bboxCenter

Field Type: SFVec3f
Access Type: initializeOnly
Default Value: 0 0 0
Value Range: -∞, ∞
Description: A hint to the browser and could be used for optimization purposes such as culling.

metadata

Field Type: SFNode
Access Type: inputOutput
Default Value: NULL
Value Range: X3DMetadataObject
Description: Information about this node.