TransformBy Method |
Moves, scales, or rotates an object given a 4x4 transformation matrix.
Signature
object.TransformBy TransformationMatrix
Object
All
Drawing Objects, AttributeReference
The object or objects this method applies to.
TransformationMatrix
Variant (4x4 array of doubles);
input-only
A 4x4 matrix specifying the transformation to perform.
Remarks
The following table demonstrates the transformation matrix configuration, where R = Rotation, and T = Translation:
R00 |
R01 |
R02 |
T0 |
R10 |
R11 |
R12 |
T1 |
R20 |
R21 |
R22 |
T2 |
0 |
0 |
0 |
1 |
This method will return an error if the transformation matrix is not correct.
Sample transformation matrices are provided in the example code for this method.
Comments? |