MEulerRotation

class MEulerRotation(*args, **kargs)

Bases: OpenMaya.MEulerRotation

Override of the Maya API class of the same name to make the data within the class ‘picklable’

Methods Summary

alternateSolution() Returns an equivalent rotation which is not simply a multiple.
asMatrix() Returns the rotation as an equivalent matrix.
asQuaternion() Returns the rotation as an equivalent quaternion.
asVector() Returns the X, Y and Z rotations as a vector.
bound() Returns a new MEulerRotation having this rotation, but with each rotation component bound within +/- PI.
closestCut(target) Returns the rotation which is full spin multiples of this one and comes closest to target.
closestSolution(target) Returns the equivalent rotation which comes closest to a target.
computeAlternateSolution(rot)
computeBound(rot)
computeClosestCut(src, target)
computeClosestSolution(src, target)
decompose(matrix, order)
inverse() Returns a new MEulerRotation containing the inverse rotation of this one and reversed rotation order.
reorder(order) Returns a new MEulerRotation having this rotation, reordered to use the given rotation order.

Methods Documentation

alternateSolution()

Returns an equivalent rotation which is not simply a multiple.

asMatrix()

Returns the rotation as an equivalent matrix.

asQuaternion()

Returns the rotation as an equivalent quaternion.

asVector()

Returns the X, Y and Z rotations as a vector.

bound()

Returns a new MEulerRotation having this rotation, but with each rotation component bound within +/- PI.

closestCut(target)

Returns the rotation which is full spin multiples of this one and comes closest to target.

closestSolution(target)

Returns the equivalent rotation which comes closest to a target.

static computeAlternateSolution(rot)
static computeBound(rot)
static computeClosestCut(src, target)
static computeClosestSolution(src, target)
static decompose(matrix, order)
inverse()

Returns a new MEulerRotation containing the inverse rotation of this one and reversed rotation order.

reorder(order)

Returns a new MEulerRotation having this rotation, reordered to use the given rotation order.

Previous topic

MColorArray

Next topic

MFnNurbsCurve