ProtoFlux:Find Animation Track Index: Difference between revisions

From Resonite Wiki
add gallery example
m messed up node ui
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#Invoke:ProtoFlux|GenerateUI
{{#Invoke:ProtoFlux|GenerateUI
|Name=Get Asset<A>
|Name=Find Animation Track Index
|Category=Actions
|Category=Assets
|Inputs=
|Inputs=
[
[
Line 41: Line 41:
File:Animation_Track_Index_Example1.png|Example of a find track index being used with a sample track index.
File:Animation_Track_Index_Example1.png|Example of a find track index being used with a sample track index.
</gallery>
</gallery>
[[Category:ProtoFlux:Assets]]

Latest revision as of 20:11, 4 February 2024

Find Animation Track Index
Animation
*
Node
Property
Assets


This node when provided an Animation Asset will search the animation's AnimJ data for a field on an object

Inputs

Animation (Animation Asset)

The Animation Asset provided by an IAssetProvider<Animation>.

Node (String)

A String that is usually the name of the slot which has it's property animated. This can vary though, and AnimJ explains this.

Property (String)

A String that is usually the human name of a field. So a floatQ would be Rotation for a Property. This can vary though, and AnimJ explains this.

Outputs

* (Int)

The index in a list of drivers a Animator would have when using the Animation (Animation Asset) provided to this node. The animation would be put into the Clip Field.

Examples