OmniGraph Node omni.graph.action.OnStageEvent¶
omni.graph.action.OnStageEvent Properties¶
Name |
Value |
---|---|
Version |
2 |
Extension |
omni.graph.action |
Has State? |
True |
Implementation Language |
Python |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
On Stage Event |
__categories |
graph:action,event |
__language |
Python |
Generated Class Name |
OgnOnStageEventDatabase |
Python Module |
omni.graph.action |
omni.graph.action.OnStageEvent Description¶
- Executes when the specified Stage Event occurs. Stage Events are emitted when certain USD stage-related actions are performed by the system:
Saved: USD file saved. Selection Changed: USD Prim selection has changed. OmniGraph Start Play: OmniGraph updates have started OmniGraph Stop Play: OmniGraph updates have been stopped Simulation Start Play: Simulation updates have started Simulation Stop Play: Simulation updates have been stopped Animation Start Play: Animation playback has started Animation Stop Play: Animation playback has stopped
omni.graph.action.OnStageEvent Inputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
inputs:eventName |
token |
Y |
The event of interest |
|
allowedTokens |
Saved,Selection Changed,OmniGraph Start Play,OmniGraph Stop Play,Simulation Start Play,Simulation Stop Play,Animation Start Play,Animation Stop Play |
|||
default |
Animation Start Play |
|||
displayGroup |
parameters |
|||
literalOnly |
1 |
|||
__allowedTokens |
{“Saved”: “Saved”, “SelectionChanged”: “Selection Changed”, “OmniGraphStart”: “OmniGraph Start Play”, “OmniGraphStop”: “OmniGraph Stop Play”, “SimulationStart”: “Simulation Start Play”, “SimulationStop”: “Simulation Stop Play”, “AnimationStart”: “Animation Start Play”, “AnimationStop”: “Animation Stop Play”} |
|||
inputs:onlyPlayback |
bool |
True |
Y |
When true, the node is only computed while Stage is being played. |
literalOnly |
1 |
|||
uiName |
Only Simulate On Play |
|||
__default |
true |
omni.graph.action.OnStageEvent Outputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
outputs:execOut |
execution |
None |
Y |
The execution output |