Go to: Attributes.
Note: matrices are post-multiplied in Maya. For example, to transform a point p from object-space to world-space you would need to post-multiply by the worldMatrix. (p' = p * wm)
-1 -1 matrix = SP * S * SH * SP * ST * RP * RA * R * RP * RT * T(where '*' denotes matrix multiplication and '-1' denotes matrix inversion'
SP = | 1 0 0 0 | ST = | 1 0 0 0 | | 0 1 0 0 | | 0 1 0 0 | | 0 0 1 0 | | 0 0 1 0 | | spx spy spz 1 | | sptx spty sptz 1 | S = | sx 0 0 0 | SH = | 1 0 0 0 | | 0 sy 0 0 | | shxy 1 0 0 | | 0 0 sz 0 | | shxz shyz 1 0 | | 0 0 0 1 | | 0 0 0 1 | RP = | 1 0 0 0 | RT = | 1 0 0 0 | | 0 1 0 0 | | 0 1 0 0 | | 0 0 1 0 | | 0 0 1 0 | | rpx rpy rpz 1 | | rptx rpty rptz 1 | RA = AX * AY * AZ AX = | 1 0 0 0 | AY = | cy 0 -sy 0 | | 0 cx sx 0 | | 0 1 0 0 | | 0 -sx cx 0 | | sy 0 cy 0 | | 0 0 0 1 | | 0 0 0 1 | AZ = | cz sz 0 0 | sx = sin(rax), cx = cos(rax) | -sz cz 0 0 | sy = sin(ray), cx = cos(ray) | 0 0 1 0 | sz = sin(raz), cz = cos(raz) | 0 0 0 1 | Rotate: If the rotationInterpolation attribute specifies quaternion interpolation, use the following OpenMaya API calls to construct the matrix: Mquaternion q( rx, ry, rz, rw ) R = q.asMatrix() Otherwise, for Euler-angle rotation use: R = RX * RY * RZ (Note: order is determined by rotateOrder) RX = | 1 0 0 0 | RY = | cy 0 -sy 0 | | 0 cx sx 0 | | 0 1 0 0 | | 0 -sx cx 0 | | sy 0 cy 0 | | 0 0 0 1 | | 0 0 0 1 | RZ = | cz sz 0 0 | sx = sin(rx), cx = cos(rx) | -sz cz 0 0 | sy = sin(ry), cx = cos(ry) | 0 0 1 0 | sz = sin(rz), cz = cos(rz) | 0 0 0 1 | T = | 1 0 0 0 | | 0 1 0 0 | | 0 0 1 0 | | tx ty tz 1 |
Node name | Parents | MFn type | Compatible function sets |
---|---|---|---|
transform | dagNode | kTransform | kBase kNamedObject kDependencyNode kDagNode kTransform |
The following quick index only shows top-level attributes (too many attributes to show them all): displayHandle, displayLocalAxis, displayRotatePivot, displayScalePivot, dynamics, geometry, inheritsTransform, maxRotLimit (3), maxRotLimitEnable (3), maxScaleLimit (3), maxScaleLimitEnable (3), maxTransLimit (3), maxTransLimitEnable (3), mentalRayControls (10), minRotLimit (3), minRotLimitEnable (3), minScaleLimit (3), minScaleLimitEnable (3), minTransLimit (3), minTransLimitEnable (3), rotate (3), rotateAxis (3), rotateOrder, rotatePivot (3), rotatePivotTranslate (3), rotateQuaternion (4), rotationInterpolation, scale (3), scalePivot (3), scalePivotTranslate (3), selectHandle (3), shear (3), showManipDefault, specifiedManipLocation, transMinusRotatePivot (3), translate (3), xformMatrix
Long name (short name) | Type | Default | Flags | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
translate
(t )
| double3 | ![]() ![]() ![]() ![]() | |||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
rotate
(r )
| double3 | ![]() ![]() ![]() ![]() | |||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
rotateOrder
(ro )
| enum | 0 | ![]() ![]() ![]() ![]() | ||||||||||||||
scale
(s )
| double3 | ![]() ![]() ![]() ![]() | |||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
shear
(sh )
| double3 | ![]() ![]() ![]() ![]() | |||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
rotatePivot
(rp )
| double3 | ![]() ![]() ![]() ![]() | |||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
rotatePivotTranslate
(rpt )
| double3 | ![]() ![]() ![]() ![]() | |||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
scalePivot
(sp )
| double3 | ![]() ![]() ![]() ![]() | |||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
scalePivotTranslate
(spt )
| double3 | ![]() ![]() ![]() ![]() | |||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
rotateAxis
(ra )
| double3 | ![]() ![]() ![]() ![]() | |||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
transMinusRotatePivot
(tmrp )
| double3 | ![]() ![]() | |||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
minTransLimit
(mntl )
| double3 | ![]() ![]() ![]() | |||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
maxTransLimit
(mxtl )
| double3 | ![]() ![]() ![]() | |||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
minTransLimitEnable
(mtle )
| compound | n/a | ![]() ![]() ![]() | ||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
maxTransLimitEnable
(xtle )
| compound | n/a | ![]() ![]() ![]() | ||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
minRotLimit
(mnrl )
| double3 | ![]() ![]() ![]() | |||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
maxRotLimit
(mxrl )
| double3 | ![]() ![]() ![]() | |||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
minRotLimitEnable
(mrle )
| compound | n/a | ![]() ![]() ![]() | ||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
maxRotLimitEnable
(xrle )
| compound | n/a | ![]() ![]() ![]() | ||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
minScaleLimit
(mnsl )
| double3 | ![]() ![]() ![]() | |||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
maxScaleLimit
(mxsl )
| double3 | ![]() ![]() ![]() | |||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
minScaleLimitEnable
(msle )
| compound | n/a | ![]() ![]() ![]() | ||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
maxScaleLimitEnable
(xsle )
| compound | n/a | ![]() ![]() ![]() | ||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
geometry
(g )
| Generic | n/a | ![]() ![]() | ||||||||||||||
xformMatrix
(xm )
| matrix | identity | ![]() ![]() | ||||||||||||||
selectHandle
(hdl )
| double3 | ![]() ![]() ![]() ![]() | |||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
inheritsTransform
(it )
| bool | true | ![]() ![]() ![]() ![]() | ||||||||||||||
displayHandle
(dh )
| bool | false | ![]() ![]() ![]() ![]() | ||||||||||||||
displayScalePivot
(dsp )
| bool | false | ![]() ![]() ![]() ![]() | ||||||||||||||
displayRotatePivot
(drp )
| bool | false | ![]() ![]() ![]() ![]() | ||||||||||||||
displayLocalAxis
(dla )
| bool | false | ![]() ![]() ![]() ![]() | ||||||||||||||
dynamics
(dyn )
| bool | false | ![]() ![]() | ||||||||||||||
showManipDefault
(smd )
| enum | 0 | ![]() ![]() ![]() ![]() | ||||||||||||||
specifiedManipLocation
(sml )
| generic typed data | NULL | ![]() ![]() ![]() | ||||||||||||||
rotateQuaternion
(rq )
| double4 | ![]() ![]() ![]() ![]() | |||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
rotationInterpolation
(roi )
| enum | 1 | ![]() ![]() | ||||||||||||||
mentalRayControls
(mrc )
| compound | n/a | ![]() ![]() ![]() ![]() | ||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|