hggroup |
Create group object |
hgtransform |
Create transform object |
makehgtform |
Create 4-by-4 transform matrix |
eye |
Identity matrix |
Group Properties | Group object appearance and behavior |
Transform Properties | Transform object appearance and behavior |
Group objects are invisible containers for graphics objects. Use group objects to form a collection of objects that can behave as one object in certain respects.
Transforms Supported by hgtransform
The transform object'sMatrix
property applies a transform to all the object’s children in unison.
Create an object group by parenting objects to a group or transform object.
Rotate About an Arbitrary Axis
This example shows how to rotate an object about an arbitrary axis.
Nest Transforms for Complex Movements
This example creates a nested hierarchy of transform objects, which are then transformed in sequence to create a cube from six squares.