public class AnimationClip extends SceneObject
name, properties| Constructor and Description |
|---|
AnimationClip()
Initializes a new instance of the
AnimationClip class. |
AnimationClip(java.lang.String name)
Initializes a new instance of the
AnimationClip class. |
| Modifier and Type | Method and Description |
|---|---|
AnimationNode |
createAnimationNode(java.lang.String nodeName)
A shorthand function to create and register the animation node on current clip.
|
java.util.List<AnimationNode> |
getAnimations()
Gets the animations contained inside the clip.
|
java.lang.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(java.lang.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.
|
getScenefindProperty, getName, getProperties, getProperty, removeProperty, removeProperty, setName, setPropertypublic AnimationClip()
AnimationClip class.public AnimationClip(java.lang.String name)
AnimationClip class.name - Namepublic java.util.List<AnimationNode> getAnimations()
public java.lang.String getDescription()
public void setDescription(java.lang.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(java.lang.String nodeName)
nodeName - New animation node's name