TimeSamplesPlayer
TimeSamplesPlayer Node plays back animation from a source prim tree on a target prim tree.
Installation
To use this Node, you must enable omni.anim.time_samples_player
in the Extension Manager.
Inputs
Name |
Type |
Description |
Default |
---|---|---|---|
targetPrim |
|
The root prim of the hierarchy to be receive the sampled values |
|
Start Time (startTime) |
|
Start time of the source animation clip (in seconds) |
0.0 |
End Time (endTime) |
|
End time of the source animation clip (in seconds) |
1.0 |
Start Range (startRange) |
|
Start time of the play range (in seconds) |
0.0 |
End Range (endRange) |
|
End time of the play range (in seconds) |
1.0 |
sourcePrim |
|
The root prim of the hierarchy to be sampled |
|
useFile |
|
When true, the inputs:filePath attribute is used; otherwise, it will look for the prim on the stage |
False |
File Path (filePath) |
|
Path to USD file containing the source animation |
|
File Source Prim (fileSourcePrim) |
|
The root prim of the hierarchy to be sampled when using a source file (inputs:useFile is true) |
|
Play (play) |
|
Resume play from current time |
|
Play from Start (playFromStart) |
|
Play the clip from start |
|
Stop (stop) |
|
Stop playback at current time |
|
Reverse (reverse) |
|
Resume play backward from current time |
|
Reverse from End (reverseFromEnd) |
|
Play the clip backward from the end |
|
Set New Time (setNewTime) |
|
Set playback to the time defined by inputs:newTime |
|
New Time (newTime) |
|
New time to set when inputs:setNewTime is triggered (in seconds) |
0.0 |
Repeat (repeat) |
|
Number of times to repeat the playback. 0 means infinite |
1 |
playbackSpeedMultiplier |
|
Playback speed multiplier |
1.0 |
Outputs
Name |
Type |
Description |
Default |
---|---|---|---|
Started (started) |
|
The playback has started |
|
Updated (updated) |
|
The node has updated one tick |
|
Finished (finished) |
|
The playback has finished |