Methods Signatures
Adds an execution point for node and the time specified by priority. |
Methods Documentation
-
PriorityList.
Add
(self, node, priority, flags)¶ Adds an execution point for node and the time specified by priority.
- Parameters
node (c4d.GeListNode) – The node to execute.
priority (int) –
The priority in the pipeline. Standard values are:
EXECUTIONPRIORITY_INITIAL
Initial.
EXECUTIONPRIORITY_ANIMATION
Animation.
EXECUTIONPRIORITY_ANIMATION_NLA
NLA.
EXECUTIONPRIORITY_EXPRESSION
Expression.
EXECUTIONPRIORITY_DYNAMICS
Dynamics.
EXECUTIONPRIORITY_GENERATOR
Generators.
EXECUTIONPRIORITY_SCENENODE
Scene nodes.
EXECUTIONPRIORITY_FORCE
Highest priority that will ensure execution even if the execution pipeline is cancelled before. Only use this to e.g. release locks or do super-fast non-blocking operations.
flags (int) –
Flags:
EXECUTIONFLAGS_NONE
None.
EXECUTIONFLAGS_ANIMATION
Animation is calculated.
EXECUTIONFLAGS_EXPRESSION
Expressions are calculated.
EXECUTIONFLAGS_CACHEBUILDING
Cache building is done.
EXECUTIONFLAGS_CAMERAONLY
Only camera dependent expressions shall be executed.
EXECUTIONFLAGS_INDRAG
Pipeline is done within scrubbing.
EXECUTIONFLAGS_INMOVE
Pipeline is done within moving.
EXECUTIONFLAGS_RENDER
The external renderer (Picture Viewer) is running.
EXECUTIONFLAGS_ALLOW_PRIORITYSHIFT
New in version R18: Allow to shift the priority with the priority shift tag. Private.