Python API 2.0 Reference
|
Public Member Functions | |
def | __eq__ () |
def | __ge__ () |
def | __gt__ () |
def | __init__ () |
def | __le__ () |
def | __lt__ () |
def | __ne__ () |
def | __repr__ () |
def | __str__ () |
def | id () |
Static Public Member Functions | |
def | __new__ () |
Stores a Maya object type identifier.
Signature | Parameters | Description |
---|---|---|
MTypeId() | Default constructor. Returns a new, empty MTypeId object. | |
MTypeId(src) | src - MTypeId | Copy constructor. Returns a new MTypeId object with the same value as src. |
MTypeId(id) | id - long | Returns a new MTypeId object with the given id. |
MTypeId(prefix, id) | prefix - int id - int | Returns a new MTypeId object whose id uses prefix for its upper 24 bits and id for its lower 8. Note that only the lower 24 bits of prefix and the lower 8 of id are significant. All higher order bits are ignored. |
MTypeId == MTypeId | True if both objects contain the same id. |
MTypeId != MTypeId | True if the two objects contain different ids. |
All other comparison operators will raise a TypeError exception.
def OpenMaya.MTypeId.__init__ | ( | ) |
Initialize self. See help(type(self)) for accurate signature.
def OpenMaya.MTypeId.__eq__ | ( | ) |
Return self==value.
def OpenMaya.MTypeId.__ge__ | ( | ) |
Return self>=value.
def OpenMaya.MTypeId.__gt__ | ( | ) |
Return self>value.
def OpenMaya.MTypeId.__le__ | ( | ) |
Return self<=value.
def OpenMaya.MTypeId.__lt__ | ( | ) |
Return self<value.
def OpenMaya.MTypeId.__ne__ | ( | ) |
Return self!=value.
|
static |
Create and return a new object. See help(type) for accurate signature.
def OpenMaya.MTypeId.__repr__ | ( | ) |
Return repr(self).
def OpenMaya.MTypeId.__str__ | ( | ) |
Return str(self).
OpenMaya.MTypeId.id | ( | ) |
Returns the type id as a long.
Signature: | id() |
Parameters: | |
Returns: | long |
Description: | Returns the object's id. |