OpenMaya.MVector¶
__str__ |
Printable-friendly version of the values. |
bnGet |
Retrieve the values as a list. |
bnRotateBy |
Rotate the vector. |
-
MVector.
__str__
()[source]¶ Printable-friendly version of the values.
Categories: fix.
Returns: A printable-friendly version of the values. Return type: str
-
MVector.
bnGet
()[source]¶ Retrieve the values as a list.
Categories: MScriptUtil.
Returns: The values. Return type: list [x, y, z]
-
MVector.
bnRotateBy
(rotation, order=maya.OpenMaya.MTransformationMatrix.kXYZ)[source]¶ Rotate the vector.
Categories: MScriptUtil.
Parameters: - rotation (sequence of 3 floats) – Values in radian to rotate by.
- order (maya.OpenMaya.MTransformationMatrix.RotationOrder) – Rotation order.
Returns: The new vector.
Return type: maya.OpenMaya.MVector