create animation track index node |
m messed up node ui |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#Invoke:ProtoFlux|GenerateUI | {{#Invoke:ProtoFlux|GenerateUI | ||
|Name= | |Name=Find Animation Track Index | ||
|Category= | |Category=Assets | ||
|Inputs= | |Inputs= | ||
[ | [ | ||
Line 35: | Line 35: | ||
The index in a list of drivers a [[Component:Animator|Animator]] would have when using the Animation ([[Type:IAsset`1|Animation Asset]]) provided to this node. The animation would be put into the <code>Clip</code> Field. | The index in a list of drivers a [[Component:Animator|Animator]] would have when using the Animation ([[Type:IAsset`1|Animation Asset]]) provided to this node. The animation would be put into the <code>Clip</code> Field. | ||
== Examples == | |||
<gallery widths=480px heights=480px> | |||
File:Animation_Track_Index_Example1.png|Example of a find track index being used with a sample track index. | |||
</gallery> | |||
[[Category:ProtoFlux:Assets]] |
Latest revision as of 20:11, 4 February 2024
Find Animation Track Index
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
-
Example of a find track index being used with a sample track index.