Definition:
Description:
A Transform is a grouping node that
defines a coordinate system for its children that is relative
to the coordinate systems of its parents.
Transform {
eventIn MFNode addChildren
eventIn MFNode removeChildren
exposedField SFVec3f center 0 0 0
exposedField MFNode children []
exposedField SFRotation rotation 0 0 1 0
exposedField SFVec3f scale 1 1 1
exposedField SFRotation scaleOrientation 0 0 1 0
exposedField SFVec3f translation 0 0 0
field SFVec3f bboxCenter 0 0 0
field SFVec3f bboxSize -1 -1 -1
}
Explanation:
center
:
specifies the point at which transformations are
acted upon for the Transform (i.e. rotations will be about
this coordinate)
children
:
this field defines the nodes that are descendents of the
Transform node
rotation
:
specifies a rotation of the coordinate system about the
coordinate specified by the field center
scale
:
specifies a non-uniform sale of the coordinate system
scaleOrientation
:
specifies a rotation about the coordinate system before
the scale
translation
:
specifies a translation to the coordinate system
bboxCenter/
bboxSize :
specifies the bounding box that encloses the children