Class AnimationUtils
Animation related utility methods.
Inherited Members
Namespace: GLTFast
Assembly: glTFast.dll
Syntax
public static class AnimationUtils
Methods
CreateAnimationPath(int, INodeHierarchyInfo, string)
Creates an animation path compatible with the animation module.
Declaration
public static string CreateAnimationPath(int nodeIndex, INodeHierarchyInfo nodeHierarchyInfo, string subPath = null)
Parameters
| Type | Name | Description |
|---|---|---|
| int | nodeIndex | Index of the target node. |
| INodeHierarchyInfo | nodeHierarchyInfo | Can be used to query hierarchical information and build an animation path string. |
| string | subPath | Optional part that will be appended to the result. |
Returns
| Type | Description |
|---|---|
| string | Animation path. |