OpenMaya.MFnUInt64ArrayData Class Reference
Function set for node data consisting of an array of MUint64.
Method resolution order:
- MFnUInt64ArrayData
- MFnData
- MFnBase
- __builtin__.object
Base Class
MFnData<h2>Constructors
Signature Parameters Description
MFnUInt64ArrayData() Default constructor. Returns a new MFnUInt64ArrayData function set with no Maya object attached.
MFnUInt64ArrayData(object) object - MObject Returns a new MFnUInt64ArrayData function set, with the specified Maya object attached.
Sequence Support
len() returns the number of elements in the encapsulated array.
Indexing and element assignment are supported. Element values are treated as Python longs.
Deletion, concatenation, repetition and slicing are not supported.
OpenMaya.MFnUInt64ArrayData.__init__
(
)
x.__init__(...) initializes x; see help(type(x)) for signature
OpenMaya.MFnUInt64ArrayData.__delitem__
(
)
x.__delitem__(y) <==> del x[y]
OpenMaya.MFnUInt64ArrayData.__getitem__
(
)
x.__getitem__(y) <==> x[y]
OpenMaya.MFnUInt64ArrayData.__len__
(
)
OpenMaya.MFnUInt64ArrayData.__setitem__
(
)
x.__setitem__(i, y) <==> x[i]=y
OpenMaya.MFnUInt64ArrayData.array
(
)
Returns the encapsulated array as an MUint64Array.
Signature: array()
Parameters:
Returns: MUint64Array
Description: Returns the encapsulated array as an MUint64Array . For performance reasons the returned array is a live reference to the encapsulated array so changes made to one directly affect the other. The returned array is only valid for as long as the function set retains the same data object. If the function set is destroyed or attached to a different object then the returned array should be discarded. Failure to do so could result in Maya becoming unstable.
OpenMaya.MFnUInt64ArrayData.copyTo
(
)
Replaces the elements of an array with those in the encapsulated array.
Signature: copyTo(array)
Parameters: array - MUint64Array
Returns: Reference to self.
Description: Replaces the elements of array with those in the encapsulated array.
OpenMaya.MFnUInt64ArrayData.create
(
)
Creates a new MUint64 array data object.
Signature: create()
Parameters:
Returns: MObject
Description: Creates a new empty unsigned long array data object, attaches it to the function set and returns an MObject which references it.
Signature: create(array)
Parameters: array - MUint64Array or sequence of unsigned ints
Returns: MObject
Description: Creates a new unsigned long array data object, initializes it with the elements from array , attaches it to the function set and returns an MObject which references it.
OpenMaya.MFnUInt64ArrayData.set
(
)
Sets values in the encapsulated array.
Signature: set(array)
Parameters: array - MUint64Array or sequence of unsigned ints
Returns: Reference to self.
Description: Replaces the elements in the encapsulated array with those from the supplied array .
Signature: set(value, index)
Parameters: value - unsigned int or unsigned long
index - unsigned int
Returns: Reference to self.
Description: Sets the value of the index 'th array element.
The documentation for this class was generated from the following files:
D:/Maya-MD-Merge/input/python/2.0/OpenMaya.py
D:/Maya-MD-Merge/input/python/extras.dox