AnimationClip

Inheritance: java.lang.Object, com.aspose.threed.A3DObject, com.aspose.threed.SceneObject

public class AnimationClip extends SceneObject

Le clip d’animation est une collection d’animations. La scène peut contenir un ou plusieurs clips d’animation.

Constructeurs

ConstructeurDescription
AnimationClip()Initialise une nouvelle instance de la classe AnimationClip.
AnimationClip(String name)Initialise une nouvelle instance de la classe AnimationClip.

Méthodes

MéthodeDescription
createAnimationNode(String nodeName)Une fonction raccourcie pour créer et enregistrer le nœud d’animation sur le clip actuel.
equals(Object arg0)
findProperty(String propertyName)Trouve la propriété.
getAnimations()Obtient les animations contenues dans le clip.
getClass()
getDescription()Obtient la description de ce clip d’animation
getName()Obtient le nom.
getProperties()Obtient la collection de toutes les propriétés.
getProperty(String property)Obtenir la valeur de la propriété spécifiée
getScene()Obtient la scène à laquelle cet objet appartient
getStart()Obtient le temps en secondes du début du clip.
getStop()Obtient le temps en secondes de la fin du clip.
hashCode()
notify()
notifyAll()
removeProperty(Property property)Supprime une propriété dynamique.
removeProperty(String property)Supprime la propriété spécifiée identifiée par son nom
setDescription(String value)Définit la description de ce clip d’animation
setName(String value)Définit le nom.
setProperty(String property, Object value)Définit la valeur de la propriété spécifiée
setStart(double value)Définit le temps en secondes du début du clip.
setStop(double value)Définit le temps en secondes de la fin du clip.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

AnimationClip()

public AnimationClip()

Initialise une nouvelle instance de la classe AnimationClip.

AnimationClip(String name)

public AnimationClip(String name)

Initialise une nouvelle instance de la classe AnimationClip.

Parameters:

ParamètreTypeDescription
nomjava.lang.StringNom

createAnimationNode(String nodeName)

public AnimationNode createAnimationNode(String nodeName)

Une fonction raccourcie pour créer et enregistrer le nœud d’animation sur le clip actuel.

Parameters:

ParamètreTypeDescription
nodeNamejava.lang.StringNom du nouveau nœud d’animation

Returns: AnimationNode - A new instance of AnimationNode with given name.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParamètreTypeDescription
arg0java.lang.Object

Returns: boolean

findProperty(String propertyName)

public Property findProperty(String propertyName)

Trouve la propriété. Elle peut être une propriété dynamique (Créée par CreateDynamicProperty/SetProperty) ou une propriété native (Identifiée par son nom)

Parameters:

ParamètreTypeDescription
propertyNamejava.lang.StringNom de la propriété.

Returns: Property - The property.

getAnimations()

public List<AnimationNode> getAnimations()

Obtient les animations contenues dans le clip.

Returns: java.util.List<com.aspose.threed.AnimationNode> - les animations contenues dans le clip.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getDescription()

public String getDescription()

Obtient la description de ce clip d’animation

Returns: java.lang.String - la description de ce clip d’animation

getName()

public String getName()

Obtient le nom.

Returns: java.lang.String - le nom.

getProperties()

public PropertyCollection getProperties()

Obtient la collection de toutes les propriétés.

Returns: PropertyCollection - the collection of all properties.

getProperty(String property)

public Object getProperty(String property)

Obtenir la valeur de la propriété spécifiée

Parameters:

ParamètreTypeDescription
propriétéjava.lang.StringNom de la propriété

Returns: java.lang.Object - La valeur de la propriété trouvée

getScene()

public Scene getScene()

Obtient la scène à laquelle cet objet appartient

Returns: Scene - the scene that this object belongs to

getStart()

public double getStart()

Obtient le temps en secondes du début du clip.

Returns: double - le temps en secondes du début du clip.

getStop()

public double getStop()

Obtient le temps en secondes de la fin du clip.

Returns: double - le temps en secondes de la fin du clip.

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)

Supprime une propriété dynamique.

Parameters:

ParamètreTypeDescription
propertyPropertyQuelle propriété supprimer

Returns: boolean - vrai si la propriété est supprimée avec succès

removeProperty(String property)

public boolean removeProperty(String property)

Supprime la propriété spécifiée identifiée par son nom

Parameters:

ParamètreTypeDescription
propriétéjava.lang.StringQuelle propriété supprimer

Returns: boolean - vrai si la propriété est supprimée avec succès

setDescription(String value)

public void setDescription(String value)

Définit la description de ce clip d’animation

Parameters:

ParamètreTypeDescription
valeurjava.lang.StringNouvelle valeur

setName(String value)

public void setName(String value)

Définit le nom.

Parameters:

ParamètreTypeDescription
valeurjava.lang.StringNouvelle valeur

setProperty(String property, Object value)

public void setProperty(String property, Object value)

Définit la valeur de la propriété spécifiée

Parameters:

ParamètreTypeDescription
propriétéjava.lang.StringNom de la propriété
valeurjava.lang.ObjectLa valeur de la propriété

setStart(double value)

public void setStart(double value)

Définit le temps en secondes du début du clip.

Parameters:

ParamètreTypeDescription
valeurdoubleNouvelle valeur

setStop(double value)

public void setStop(double value)

Définit le temps en secondes de la fin du clip.

Parameters:

ParamètreTypeDescription
valeurdoubleNouvelle valeur

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParamètreTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParamètreTypeDescription
arg0long
arg1int