ComponentTransform (Standard name: Transform)
Transform is a Grouping node that can contain most nodes. Hint: +Y axis is up. (Sometimes +X is North and +Z is East.) Stick with +Y up for scene composability and browser assists. Hint: insert a Shape node before adding geometry or Appearance.
Inheritance
Code
XML encoding
<ComponentTransform center='0 0 0' rotation='0 0 1 0' scale='1 1 1' scaleOrientation='0 0 1 0' translation='0 0 0' invert='FALSE' showProxyGeometry='FALSE' bboxCenter='0 0 0' bboxSize='-1 -1 -1' render='TRUE' showBBox='FALSE' logFeature='' />
Classic encoding
ComponentTransform { center 0 0 0 rotation 0 0 1 0 scale 1 1 1 scaleOrientation 0 0 1 0 translation 0 0 0 invert FALSE showProxyGeometry FALSE bboxCenter 0 0 0 bboxSize -1 -1 -1 render TRUE showBBox FALSE logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
center | SFVec3f | inputOutput | 0 0 0 | Translation offset from origin of local coordinate system. | ||
rotation | SFRotation | inputOutput | 0 0 1 0 | Orientation of children relative to local coordinate system. | ||
scale | SFVec3f | inputOutput | 1 1 1 | Non-uniform x-y-z scale of child coordinate system, adjusted by center and scaleOrientation. | ||
scaleOrientation | SFRotation | inputOutput | 0 0 1 0 | Preliminary rotation of coordinate system before scaling (to allow scaling around arbitrary orientations). | ||
translation | SFVec3f | inputOutput | 0 0 0 | Position of children relative to local coordinate system. | ||
children | MFNode | inputOutput | Node | field that contains a list of children nodes | ||
addChildren | MFNode | inputOnly | The addChildren event appends nodes to the children field of a grouping node. Any nodes passed to the addChildren inputOnly field that are already in the children list of the grouping node are ignored | |||
removeChildren | MFNode | inputOnly | The removeChildren event removes nodes from the children fieldof the grouping node . Any nodes in the removeChildren event that are not in the children list of the grouping node are ignored | |||
bboxCenter | SFVec3f | initializeOnly | 0 0 0 | Bounding box center: position offset from origin of local coordinate system. | ||
bboxSize | SFVec3f | initializeOnly | -1 -1 -1 | Bounding box size: automatically calculated, can be specified as an optimization or constraint. | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element |