Python API 2.0 Reference
OpenMaya.MFnMatrixAttribute Class Reference
+ Inheritance diagram for OpenMaya.MFnMatrixAttribute:

Public Member Functions

def __init__ ()
 
def create ()
 
- Public Member Functions inherited from OpenMaya.MFnAttribute
def __init__ ()
 
def accepts ()
 
def acceptsAttribute ()
 
def addToCategory ()
 
def getAddAttrCmd ()
 
def hasCategory ()
 
def setNiceNameOverride ()
 
- Public Member Functions inherited from OpenMaya.MFnBase
def __init__ ()
 
def hasObj ()
 
def object ()
 
def setObject ()
 
def type ()
 

Static Public Member Functions

def __new__ ()
 
- Static Public Member Functions inherited from OpenMaya.MFnAttribute
def __new__ ()
 
- Static Public Member Functions inherited from OpenMaya.MFnBase
def __new__ ()
 

Static Public Attributes

Matrix Types
int kDouble = 1
 
int kFloat = 0
 
- Static Public Attributes inherited from OpenMaya.MFnAttribute
int kDelete = 0
 
int kNothing = 2
 
int kReset = 1
 

Properties

 default = property(...)
 
- Properties inherited from OpenMaya.MFnAttribute
 affectsAppearance = property(...)
 
 affectsWorldSpace = property(...)
 
 array = property(...)
 
 cached = property(...)
 
 channelBox = property(...)
 
 connectable = property(...)
 
 disconnectBehavior = property(...)
 
 dynamic = property(...)
 
 extension = property(...)
 
 hidden = property(...)
 
 indeterminant = property(...)
 
 indexMatters = property(...)
 
 internal = property(...)
 
 isProxyAttribute = property(...)
 
 keyable = property(...)
 
 name = property(...)
 
 parent = property(...)
 
 readable = property(...)
 
 renderSource = property(...)
 
 shortName = property(...)
 
 storable = property(...)
 
 usedAsColor = property(...)
 
 usedAsFilename = property(...)
 
 usesArrayDataBuilder = property(...)
 
 worldSpace = property(...)
 
 writable = property(...)
 

Detailed Description

Functionset for creating and working with matrix attributes.

Method resolution order:
-   MFnMatrixAttribute
-   MFnAttribute
-   MFnBase
-   builtins.object

Base Class

MFnAttribute<h2>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.

 


Constructor & Destructor Documentation

def OpenMaya.MFnMatrixAttribute.__init__ ( )
Initialize self.  See help(type(self)) for accurate signature.

Member Function Documentation

def OpenMaya.MFnMatrixAttribute.__new__ ( )
static
Create and return a new object.  See help(type) for accurate signature.
OpenMaya.MFnMatrixAttribute.create ( )
Creates a new matrix attribute, attaches it to the function set and returns it as an MObject.
Signature: create(longName, shortName, type=kDouble)
Parameters: longName - string
shortName - string
type - Matrix Type constant
Returns: MObject
Description: 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.

Member Data Documentation

OpenMaya.MFnMatrixAttribute.kDouble = 1
static
Name: kDouble
Type: int
Description: Matrix of double-precision floats.
OpenMaya.MFnMatrixAttribute.kFloat = 0
static
Name: kFloat
Type: int
Description: Matrix of single-precision floats.

Property Documentation

OpenMaya.MFnMatrixAttribute.default = property(...)
static
 Default value
Name: default
Type: MMatrix or MFloatMatrix
Access: RW
Description: Default value of attr.