None.
None.
None.
| Signature | Parameters | Description |
|---|---|---|
| MFnTypedAttribute() | Default constructor. Returns a new MFnTypedAttribute function set with no Maya object attached. | |
| MFnTypedAttribute(object) | object - MObject | Returns a new MFnTypedAttribute function set, attached to the specified Maya object. |
| Signature | Parameters | Returns | Description |
|---|---|---|---|
| attrType() | MFnData Type constant | Returns the type of data handled by the attribute. | |
| create(longName, shortName, type, defaultValue=MObject.kNullObj) | longName - string
shortName - string type - MTypeId or MFnData Type constant defaultValue - MObject |
MObject | Creates a new attribute of the given type with the given longName, shortName and defaultValue, attaches it to the function set and returns it in an MObject. |
| Name | Type | Access | Description |
|---|---|---|---|
| default | MObject | RW | Default value of attr. |
None.
None.
None.
© 2011 Autodesk, Inc. All rights reserved.