public class AnimationList
extends java.lang.Object
Animation name
is using to access animation via AnimControl
.
firstFrame
and lastFrame
defines animation time interval.
Use layerName
also to define source animation layer in the case of multiple layers in the scene.
Skeletal animations will be created if only scene contain skeletal bones
Constructor and Description |
---|
AnimationList() |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String name,
int firstFrame,
int lastFrame)
Use in the case of multiple animation layers in FBX asset
|
void |
add(java.lang.String name,
java.lang.String layerName,
int firstFrame,
int lastFrame)
Use in the case of multiple animation layers in FBX asset
|
public void add(java.lang.String name, int firstFrame, int lastFrame)
name
- - animation name to access via AnimControl
firstFrame
- the index of the first framelastFrame
- the index of the last framepublic void add(java.lang.String name, java.lang.String layerName, int firstFrame, int lastFrame)
name
- - animation name to access via AnimControl
layerName
- - source layerfirstFrame
- the index of the first framelastFrame
- the index of the last frame