MFnMatrixAttribute

Base Class

MFnAttribute

Constants

NameTypeDescription
Matrix Types
kFloat int Matrix of single-precision floats.
kDouble int Matrix of double-precision floats.

Static Methods

None.

Static Attributes

None.

Constructors

SignatureParametersDescription
MFnMatrixAttribute()   Default constructor. Returns a new MFnMatrixAttribute function set with no Maya object attached.
MFnMatrixAttribute(object) object - MObject Returns a new MFnMatrixAttribute function set, attached to the specified Maya object.

Object Methods

SignatureParametersReturnsDescription
create(longName, shortName, type=kDouble) longName - string
shortName - string
type - Matrix Type constant
MObject Create a new float or double matrix attribute with the given longName and shortName, attach it to the function set and return it in an MObject.

Object Attributes

NameTypeAccessDescription
default MMatrix or MFloatMatrix RW Default value of attr.

Sequence Support

None.

Number Support

None.

Comparison Support

None.

© 2011 Autodesk, Inc. All rights reserved.