ProtoFlux:Sample Object Animation Track: Difference between revisions

From Resonite Wiki
Created page with "{{#Invoke:ProtoFlux|GenerateUI |Name=Sample Object Animation Track< T> |Category=Assets |Inputs= [ {"Name":"Animation", "Type":"Animation"}, {"Name":"TrackIndex", "Type":"int"}, {"Name":"Time", "Type":"float"} ] |Outputs= [ {"Name":"*", "Type":"Dummy"} ] |}} This node when provided an Animation Asset sample the given track index for a Reference Type Reference at the specified time. It is currently not possible to make use of this..."
 
added gallery to properly retag this as needs photos
Line 43: Line 43:
== Examples ==  
== Examples ==  


{{Stub}}
<gallery widths=480px heights=480px>
File:Protoflux_sample_object_animation_track.webp|Example of a Sample Object Animation Track<Slot>
being used to change the parent of a slot
</gallery>


[[Category:ProtoFlux:Assets]]
[[Category:ProtoFlux:Assets]]

Revision as of 18:58, 8 February 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 not possible to make use of this node due to AnimJ not supporting objects.[Citation needed] TODO: Someone test this.

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 Sudo-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