None.
None.
None.
Signature | Parameters | Description |
---|---|---|
MFnGenericAttribute() | Default constructor. Returns a new MFnGenericAttribute function set with no Maya object attached. | |
MFnGenericAttribute(object) | object - MObject | Returns a new MFnGenericAttribute function set, attached to the specified Maya object. |
Signature | Parameters | Returns | Description |
---|---|---|---|
addDataType(type) | type - MFnData Type constant | Reference to self. | Adds the specified Maya data type to the list of those accepted by the attribute. |
addNumericType(type) | type - MFnNumericData Type constant | Reference to self. | Adds the specified numeric type to the list of those accepted by the attribute. |
addTypeId(typeId) | typeId - MTypeId | Reference to self. | Adds the specified MPxData or MPxGeometryData typeId to the list of those accepted by the attribute. |
create(longName, shortName) | longName - string
shortName - string |
MObject | Create a new message attribute with the given longName and shortName, attach it to the function set and return it in an MObject. |
removeDataType(type) | type - MFnData Type constant | Reference to self. | Removes the specified Maya data type from the list of those accepted by the attribute. |
removeNumericType(type) | type - MFnNumericData Type constant | Reference to self. | Removes the specified numeric type from the list of those accepted by the attribute. |
removeTypeId(typeId) | typeId - MTypeId | Reference to self. | Removes the specified data typeId from the list of those accepted by the attribute. |
None.
None.
None.
None.
© 2011 Autodesk, Inc. All rights reserved.