nuke.splinewarp.CTransform
- class nuke.splinewarp.CTransform
Bases:
object
A transform at a single point in time.
This is the result of evaluating an AnimTransform for a particular time.
Methods
Gets the inverse transform matrix, which can be used for undoing the effects of this transform.
Get the matrix which represents the combination of the translation, scale, rotation, skew and pivotPoint settings for this transform.
Returns a transposed copy of the matrix representing this transform.
Returns True if this transform matches the default settings, False if not.
Return this transform to its default settings.
Set this transform to the identity transform (the transform which doesn't change the object at all).
Attributes
The name for this transform.
The location of the pivot point, represented as a CVec3 object.
The rotation amounts, represented as a CVec3 object.
Indicates which order to apply the rotations in.
The scale factors, represented as a CVec3 object.
The skew amounts, represented as a CVec3 object.
Indicates which order to apply the transformations in.
The translation amounts, represented as a CVec3 object.
- getInverseMatrix() CMatrix4
Gets the inverse transform matrix, which can be used for undoing the effects of this transform.
- getMatrix() CMatrix4
Get the matrix which represents the combination of the translation, scale, rotation, skew and pivotPoint settings for this transform.
- getTransposeMatrix() CMatrix4
Returns a transposed copy of the matrix representing this transform.
- isDefault() bool
Returns True if this transform matches the default settings, False if not.
- name
The name for this transform.
- pivotPoint
The location of the pivot point, represented as a CVec3 object.
- reset() None
Return this transform to its default settings.
- rotation
The rotation amounts, represented as a CVec3 object.
- rotationOrder
Indicates which order to apply the rotations in. The value will be one of the constants from the RotationOrder class.
- scale
The scale factors, represented as a CVec3 object.
- setIdentity() None
Set this transform to the identity transform (the transform which doesn’t change the object at all).
- skew
The skew amounts, represented as a CVec3 object.
- transformOrder
Indicates which order to apply the transformations in. The value will be one of the constants from the TransformOrder class.
- translation
The translation amounts, represented as a CVec3 object.