ProtoFlux:Sample Object Animation Track: Difference between revisions

From Resonite Wiki
updated with an actual use
Sudo-Generic -> Pseudo-generic
 
Line 35: Line 35:
== Outputs ==
== Outputs ==


=== * (Dummy Sudo-Generic) ===
=== * (Dummy Pseudo-generic) ===


This gives the [[:Category:Type|Reference Type]] for the track index given to TrackIndex ([[Types:Int|int]]) at the time given to Time ([[Types:Float|Float]]).  
This gives the [[:Category:Type|Reference Type]] for the track index given to TrackIndex ([[Types:Int|int]]) at the time given to Time ([[Types:Float|Float]]).  

Latest revision as of 18:48, 6 June 2024

Sample Object Animation Track< T>
Animation
*
TrackIndex
Time
Assets


This node when provided an Animation Asset sample the given track index for a Reference Type Reference at the specified time.

It is currently only possible to make use of this node to read Strings from AnimJs. This can be useful to store large amounts or string data, like translations or subtitles driven via animations.

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.

Outputs

* (Dummy Pseudo-generic)

This gives the Reference Type for the track index given to TrackIndex (int) at the time given to Time (Float).

This does not have interpolation[Citation needed]

Examples