paya.runtime.plugs.EulerRotation#
- class EulerRotation(*args, **kwargs)#
Inheritance
VectorMathAttributeAttributePyNodeProxyUnicode- createLocator(name=None, rotateOrder='xyz', size=1.0)#
- Shorthand
cl- Parameters
- Returns
A locator with this euler rotation piped into its
rotatechannels.- Return type
- get(plug=False, **kwargs)#
Overrides
get()to returnEulerRotationvalues. If this is therotatechannel on a transform node, rotation order is taken from the transform.
- set(*args, **kwargs)#
Overloads
get()to ensure that instances ofEulerRotationwith units that don’t match the UI setting are set correctly.
- isTranslateChannel()#
- Returns
True if this is the
translatechannel of a transform node, otherwise False.- Return type
- isRotateChannel()#
- Returns
True if this is the
rotatechannel on a transform, otherwise False.- Return type
- reorder(newRotateOrder, rotateOrder='xyz')#
- asQuaternion(rotateOrder='xyz')#
- Parameters
rotateOrder/ro (
Math1D, str, int) – the rotate order, defaults to ‘xyz’- Returns
A quaternion representation of this euler rotation.
- Return type
- asAxisAngle(rotateOrder='xyz')#
- asRotateMatrix(rotateOrder='xyz')#
- Parameters
rotateOrder/ro (
Math1D, str, int) – the rotate order, defaults to ‘xyz’- Returns
This euler rotation as a matrix.
- Return type
Math3D
- asEulerRotation()#
Overrides
asEulerRotation()to returnself.