AnimationClip
Inheritance: java.lang.Object, com.aspose.threed.A3DObject, com.aspose.threed.SceneObject
public class AnimationClip extends SceneObject
The Animation clip is a collection of animations. The scene can have one or more animation clips.
Constructors
Constructor | Description |
---|---|
AnimationClip() | Initializes a new instance of the AnimationClip class. |
AnimationClip(String name) | Initializes a new instance of the AnimationClip class. |
Methods
Method | Description |
---|---|
createAnimationNode(String nodeName) | A shorthand function to create and register the animation node on current clip. |
equals(Object arg0) | |
findProperty(String propertyName) | Finds the property. |
getAnimations() | Gets the animations contained inside the clip. |
getClass() | |
getDescription() | Gets the description of this animation clip |
getName() | Gets the name. |
getProperties() | Gets the collection of all properties. |
getProperty(String property) | Get the value of specified property |
getScene() | Gets the scene that this object belongs to |
getStart() | Gets the time in seconds of the beginning of the clip. |
getStop() | Gets the time in seconds of the end of the clip. |
hashCode() | |
notify() | |
notifyAll() | |
removeProperty(Property property) | Removes a dynamic property. |
removeProperty(String property) | Remove the specified property identified by name |
setDescription(String value) | Sets the description of this animation clip |
setName(String value) | Sets the name. |
setProperty(String property, Object value) | Sets the value of specified property |
setStart(double value) | Sets the time in seconds of the beginning of the clip. |
setStop(double value) | Sets the time in seconds of the end of the clip. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
AnimationClip()
public AnimationClip()
Initializes a new instance of the AnimationClip class.
AnimationClip(String name)
public AnimationClip(String name)
Initializes a new instance of the AnimationClip class.
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String | Name |
createAnimationNode(String nodeName)
public AnimationNode createAnimationNode(String nodeName)
A shorthand function to create and register the animation node on current clip.
Parameters:
Parameter | Type | Description |
---|---|---|
nodeName | java.lang.String | New animation node’s name |
Returns: AnimationNode
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
findProperty(String propertyName)
public Property findProperty(String propertyName)
Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name)
Parameters:
Parameter | Type | Description |
---|---|---|
propertyName | java.lang.String | Property name. |
Returns: Property - The property.
getAnimations()
public List<AnimationNode> getAnimations()
Gets the animations contained inside the clip.
Returns: java.util.List<com.aspose.threed.AnimationNode>
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getDescription()
public String getDescription()
Gets the description of this animation clip
Returns: java.lang.String
getName()
public String getName()
Gets the name.
Returns: java.lang.String
getProperties()
public PropertyCollection getProperties()
Gets the collection of all properties.
Returns: PropertyCollection
getProperty(String property)
public Object getProperty(String property)
Get the value of specified property
Parameters:
Parameter | Type | Description |
---|---|---|
property | java.lang.String | Property name |
Returns: java.lang.Object - The value of the found property
getScene()
public Scene getScene()
Gets the scene that this object belongs to
Returns: Scene
getStart()
public double getStart()
Gets the time in seconds of the beginning of the clip.
Returns: double
getStop()
public double getStop()
Gets the time in seconds of the end of the clip.
Returns: double
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
removeProperty(Property property)
public boolean removeProperty(Property property)
Removes a dynamic property.
Parameters:
Parameter | Type | Description |
---|---|---|
property | Property | Which property to remove |
Returns: boolean - true if the property is successfully removed
removeProperty(String property)
public boolean removeProperty(String property)
Remove the specified property identified by name
Parameters:
Parameter | Type | Description |
---|---|---|
property | java.lang.String |
Returns: boolean
setDescription(String value)
public void setDescription(String value)
Sets the description of this animation clip
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | New value |
setName(String value)
public void setName(String value)
Sets the name.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | New value |
setProperty(String property, Object value)
public void setProperty(String property, Object value)
Sets the value of specified property
Parameters:
Parameter | Type | Description |
---|---|---|
property | java.lang.String | Property name |
value | java.lang.Object | The value of the property |
setStart(double value)
public void setStart(double value)
Sets the time in seconds of the beginning of the clip.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | New value |
setStop(double value)
public void setStop(double value)
Sets the time in seconds of the end of the clip.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | New value |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |