public class AnimationClip extends A3DObject
Constructor and Description |
---|
AnimationClip()
Initializes a new instance of the
AnimationClip class. |
AnimationClip(String name)
Initializes a new instance of the
AnimationClip class. |
Modifier and Type | Method and Description |
---|---|
AnimationNode |
createAnimationNode(String nodeName)
A shorthand function to create and register the animation node on current clip.
|
List<AnimationNode> |
getAnimations()
Gets the animations contained inside the clip.
|
String |
getDescription()
Gets the description of this animation clip
|
double |
getStart()
Gets the time in seconds of the beginning of the clip.
|
double |
getStop()
Gets the time in seconds of the end of the clip.
|
void |
setDescription(String value)
Sets the description of this animation clip
|
void |
setStart(double value)
Sets the time in seconds of the beginning of the clip.
|
void |
setStop(double value)
Sets the time in seconds of the end of the clip.
|
findProperty, getName, getProperty, removeProperty, removeProperty, setName, setProperty
public AnimationClip()
AnimationClip
class.public AnimationClip(String name)
AnimationClip
class.name
- Namepublic List<AnimationNode> getAnimations()
public String getDescription()
public void setDescription(String value)
value
- New valuepublic double getStart()
public void setStart(double value)
value
- New valuepublic double getStop()
public void setStop(double value)
value
- New valuepublic AnimationNode createAnimationNode(String nodeName)
nodeName
- New animation node's nameCopyright © 2019. All rights reserved.