paya.runtime.data.EulerRotation#

class EulerRotation(*args, **kwargs)#

Inheritance

EulerRotation Array MEulerRotation

createLocator(name=None, size=1.0)#
Shorthand

cl

Parameters
  • name/n (str) – an optional name for the locator transform; defaults to a contextual name

  • size/siz (float) – a scalar for the locator’s local scale; defaults to 1.0

Returns

A locator with this euler rotation piped into its rotate channels.

Return type

Transform

__add__(other)#

Implements addition (+).

Overloads pymel.core.datatypes.EulerRotation.__add__() to add support for 1D or 3D plugs.

__radd__(other)#

Implements reflected addition (+).

Overloads pymel.core.datatypes.EulerRotation.__radd__() to add support for 1D or 3D plugs.

__sub__(other)#

Implements subtraction (-).

Overloads pymel.core.datatypes.EulerRotation.__sub__() to add support for 1D or 3D plugs.

__rsub__(other)#

Implements reflected subtraction (-).

Overloads pymel.core.datatypes.EulerRotation.__rsub__() to add support for 1D or 3D plugs.

__mul__(other)#

Implements multiplication (*).

Overloads pymel.core.datatypes.EulerRotation.__mul__() to add support for 1D and 3D plugs.

__rmul__(other)#

Implements reflected multiplication (*).

Overloads pymel.core.datatypes.EulerRotation.__rmul__() to add support for 1D and 3D plugs.

__truediv__(other)#

Implements division (/).

Overloads pymel.core.datatypes.EulerRotation.__truediv__() to add support for 1D and 3D plugs.

__rtruediv__(other)#

Implements reflected division (/).

Overloads pymel.core.datatypes.EulerRotation.__rtruediv__() to add support for 1D and 3D plugs.

__pow__(other)#

Implements power (**).

Overloads pymel.core.datatypes.EulerRotation.__pow__() to add support for 1D and 3D plugs.

__rpow__(other)#

Implements reflected power (**).

Overloads pymel.core.datatypes.EulerRotation.__rpow__() to add support for 1D and 3D plugs.

asRotateMatrix(rotateOrder=None)#
Parameters

rotateOrder/ro (None, int, str) – override the rotate order; this doesn’t perform any reordering, it merely treats the rotation differently when composing the matrix; defaults to None

Returns

This euler rotation as a matrix.

Return type

Matrix

copy()#

Overloads the base copy() to include rotation order.

Returns

A copy of this euler rotation.

Return type

EulerRotation.