Package com.aspose.threed
Class AnimationClip
- java.lang.Object
-
- com.aspose.threed.A3DObject
-
- com.aspose.threed.AnimationClip
-
public class AnimationClip extends A3DObject
The Animation clip is a collection of animations. The scene can have one or more animation clips.
-
-
Constructor Summary
Constructors Constructor Description AnimationClip()
Initializes a new instance of theAnimationClip
class.AnimationClip(java.lang.String name)
Initializes a new instance of theAnimationClip
class.
-
Method Summary
Modifier and Type Method 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 clipdouble
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 clipvoid
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.-
Methods inherited from class com.aspose.threed.A3DObject
findProperty, getName, getProperty, removeProperty, removeProperty, setName, setProperty
-
-
-
-
Constructor Detail
-
AnimationClip
public AnimationClip()
Initializes a new instance of theAnimationClip
class.
-
AnimationClip
public AnimationClip(java.lang.String name)
Initializes a new instance of theAnimationClip
class.- Parameters:
name
- Name
-
-
Method Detail
-
getAnimations
public java.util.List<AnimationNode> getAnimations()
Gets the animations contained inside the clip.
-
getDescription
public java.lang.String getDescription()
Gets the description of this animation clip
-
setDescription
public void setDescription(java.lang.String value)
Sets the description of this animation clip- Parameters:
value
- New value
-
getStart
public double getStart()
Gets the time in seconds of the beginning of the clip.
-
setStart
public void setStart(double value)
Sets the time in seconds of the beginning of the clip.- Parameters:
value
- New value
-
getStop
public double getStop()
Gets the time in seconds of the end of the clip.
-
setStop
public void setStop(double value)
Sets the time in seconds of the end of the clip.- Parameters:
value
- New value
-
createAnimationNode
public AnimationNode createAnimationNode(java.lang.String nodeName)
A shorthand function to create and register the animation node on current clip.- Parameters:
nodeName
- New animation node's name
-
-