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 |
|
time |
|
Override the use of real time and use this value instead if there is a connection to it. If there is not a connection to this input, real time will be used. Either way time is used to compute how much time has elapsed since play began. The actual value does not matter. But the value must be increasing. |
|
New Time (newTime) |
|
Time to set when ‘applyNewTime’ is triggered |
|
Source (source) |
|
Option to select to use source prim from the USD stage or the USD file specified by ‘filePath’ |
USD File |
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 |
|
Apply New Time (applyNewTime) |
|
Set playback to the time defined by inputs:time |
|
Play Count (playCount) |
|
Number of times to play the time-samples animation. 0 means infinite |
1 |
playbackSpeedMultiplier |
|
Playback speed multiplier |
1.0 |
Only Simulate On Play (onlyPlayback) |
|
When true, the node is only computed while Stage is being played |
True |
Write To (writeTo) |
|
Whether to write values to fabric or the USD stage |
USD Stage |
Debug Mode (debugMode) |
|
Log debug information to the console |
False |
Smooth Rotation (smoothRotation) |
|
Whether to smooth discontinued euler rotations generated from matrix decomposition |
True |
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 |
|
Time (time) |
|
Last time that was applied (in seconds) |
0.0 |