SoComposeMatrix¶
- InventorModule¶
genre
author
package
definition
Purpose¶
The engine SoComposeMatrix has inputs that specify values for translation, rotation, scale, and center of transformation.
As output, it produces a transformation matrix that transforms objects into the space specified by the Scale Factor, Rotation, and Translation fields (in that order).
Windows¶
Default Panel¶
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
Visible Fields¶
Translation¶
- name: translation, type: Vector3List, default: 0 0 0¶
Sets the translation in x, y, and z.
Rotation¶
- name: rotation, type: Vector4List, default: 0 0 1 0¶
Sets the rotation.
Scale Factor¶
- name: scaleFactor, type: Vector3List, default: 1 1 1¶
Sets the scale factors in x, y, and z.
Scale Orientation¶
- name: scaleOrientation, type: Vector4List, default: 0 0 1 0¶
Sets the rotational space for scaling.
Center¶
- name: center, type: Vector3List, default: 0 0 0¶
Sets the center point for scaling and rotating.
Matrix¶
- name: matrix, type: EngineOutput, persistent: no¶
Outputs the transformation matrix that transforms from object space into the space specified by the fields.
This field must be connected to an appropriate Open Inventor field to access or view its value.