ProtoFlux:Sample Value Animation Track: Difference between revisions

From Resonite Wiki
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 Index
|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]] will search the animation's [[AnimJ]] data for a field on an object
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 Sudo-Generic) ===
=== * (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>
Animation
*
TrackIndex
Time
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