create sample value animation track |
Sudo-Generic -> Pseudo-generic |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{#Invoke:ProtoFlux|GenerateUI | {{#Invoke:ProtoFlux|GenerateUI | ||
|Name=Sample Value Animation Track | |Name=Sample Value Animation Track<T> | ||
|Category=Assets | |Category=Assets | ||
|Inputs= | |Inputs= | ||
Line 15: | Line 15: | ||
This node when provided an [[Type:Animation|Animation Asset]] | This node when provided an [[Type:Animation|Animation Asset]] sample the given track index for a [[Value Type|primitive]] value at the specified time. | ||
== Inputs == | == Inputs == | ||
Line 33: | Line 33: | ||
== Outputs == | == Outputs == | ||
=== * (Dummy | === * (Dummy Pseudo-generic) === | ||
This gives the [[Value Type|Primitive]] for the track index given to TrackIndex ([[Types:Int|int]]) at the time given to Time ([[Types:Float|Float]]). If between keyframes it will sample based on the [[AnimJ|AnimJ's]] interpolation for those frames on the track. | This gives the [[Value Type|Primitive]] for the track index given to TrackIndex ([[Types:Int|int]]) at the time given to Time ([[Types:Float|Float]]). If between keyframes it will sample based on the [[AnimJ|AnimJ's]] interpolation for those frames on the track. |
Latest revision as of 18:49, 6 June 2024
Sample Value Animation Track<T>
Assets
This node when provided an Animation Asset sample the given track index for a primitive value at the specified time.
Inputs
Animation (Animation Asset)
The Animation Asset provided by an IAssetProvider<Animation>.
TrackIndex (int)
The track index of the given Animation (Animation Asset) to sample from
Time (Float)
The time in seconds at which to sample the animation. If between keyframes it will sample based on the AnimJ's interpolation for those frames on the track.
Outputs
* (Dummy Pseudo-generic)
This gives the Primitive for the track index given to TrackIndex (int) at the time given to Time (Float). If between keyframes it will sample based on the AnimJ's interpolation for those frames on the track.
Examples
-
Example of a find track index being used with a sample track index.