|
| kNormal = <OpenMaya.MDGContextobject> |
|
Dependency graph context.
Constructors
Signature | Parameters | Description |
MDGContext() | | Default constructor. Returns a new MDGContext object using the default context.
|
MDGContext(src) | src - MDGContext | Copy constructor. Returns a new MDGContext object with the same value as src.
|
MDGContext(time) | time - MTime | Returns a new MDGContext object which will evaluate at the given time.
|
def OpenMaya.MDGContext.__init__ |
( |
| ) |
|
Initialize self. See help(type(self)) for accurate signature.
def OpenMaya.MDGContext.__new__ |
( |
| ) |
|
|
static |
Create and return a new object. See help(type) for accurate signature.
def OpenMaya.MDGContext.copy |
( |
| ) |
|
copy(source) -> self
Copy data from source context.
* source (MDGContext) - The source object to copy from
def OpenMaya.MDGContext.current |
( |
| ) |
|
|
static |
Returns the current context being used for evaluation.
OpenMaya.MDGContext.getTime |
( |
| ) |
|
Returns the time at which this context is set to evaluate.
Signature: | getTime() |
Parameters: | |
Returns: | MTime |
Description: | Returns the time at which this context is set to evaluate. If the context does not have a specific time (i.e. it's a "normal" context) then a ValueError will be raised. |
def OpenMaya.MDGContext.isCurrent |
( |
| ) |
|
Returns True if the context is currently being used for evaluation. Returns False if some other context is being used for evaluation.
OpenMaya.MDGContext.isNormal |
( |
| ) |
|
Returns True if the context is set to evaluate normally. Returns False if the context is set to evaluate at a specific time.
Signature: | isNormal() |
Parameters: | |
Returns: | bool |
Description: | Returns True if the context is set to evaluate normally. Returns False if the context is set to evaluate at a specific time. |
def OpenMaya.MDGContext.makeCurrent |
( |
| ) |
|
Makes this context the new current one being used for evaluation. Returns the previous evaluation context.
OpenMaya.MDGContext.kNormal = <OpenMaya.MDGContextobject> |
|
static |
Name: | kNormal |
Type: | MDGContext |
Description: | Default/normal context. |