BindPoint

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

public class BindPoint extends A3DObject

Un BindPoint est généralement créé sur la propriété d’un objet, certains types de propriétés contiennent plusieurs champs composant (comme un champ Vector3), BindPoint générera un canal pour chaque champ composant et connectera le champ à une ou plusieurs instance(s) de séquence d’images clés via les canaux.

Constructeurs

ConstructeurDescription
BindPoint(Scene scene, Property prop)Initialise une nouvelle instance de la classe BindPoint.

Méthodes

MéthodeDescription
addChannel(String name, Class type, Object value)Ajoute la propriété de canal spécifiée.
addChannel(String name, Object value)Ajoute la propriété de canal spécifiée.
bindKeyframeSequence(String channelName, KeyframeSequence sequence)Lier la séquence d’images clés au canal spécifié
createKeyframeSequence(String name)Crée une nouvelle courbe et la connecte au premier canal du mappage de courbe
equals(Object arg0)
findProperty(String propertyName)Trouve la propriété.
get(String channelName)Obtient le canal par le nom donné
getChannel(String channelName)Obtient le canal par le nom donné
getChannelsCount()Obtient le nombre total de canaux de propriétés définis dans ce mappage de courbe d’animation.
getClass()
getKeyframeSequence(String channelName)Obtient la première séquence d’images clés dans le canal spécifié
getName()Obtient le nom.
getProperties()Obtient la collection de toutes les propriétés.
getProperty()Obtient la propriété associée au CurveMapping
getProperty(String property)Obtenir la valeur de la propriété spécifiée
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
resetChannels()Vide les canaux de propriétés de ce mappage de courbe d’animation.
setName(String value)Définit le nom.
setProperty(Property value)Obtient la propriété associée au CurveMapping
setProperty(String property, Object value)Définit la valeur de la propriété spécifiée
toString()Formate l’objet en chaîne
wait()
wait(long arg0)
wait(long arg0, int arg1)

BindPoint(Scene scene, Property prop)

public BindPoint(Scene scene, Property prop)

Initialise une nouvelle instance de la classe BindPoint.

Parameters:

ParamètreTypeDescription
sceneSceneLa scène qui contient l’animation.
propPropertyPropriété.

addChannel(String name, Class type, Object value)

public boolean addChannel(String name, Class<?> type, Object value)

Ajoute la propriété de canal spécifiée.

Parameters:

ParamètreTypeDescription
nomjava.lang.StringNom.
typejava.lang.ClassType.
valeurjava.lang.ObjectValeur.

Returns: booléen - true, si le canal a été ajouté, false sinon.

addChannel(String name, Object value)

public boolean addChannel(String name, Object value)

Ajoute la propriété de canal spécifiée.

Parameters:

ParamètreTypeDescription
nomjava.lang.StringNom.
valeurjava.lang.ObjectValeur.

Returns: booléen - true, si le canal a été ajouté, false sinon.

bindKeyframeSequence(String channelName, KeyframeSequence sequence)

public void bindKeyframeSequence(String channelName, KeyframeSequence sequence)

Lier la séquence d’images clés au canal spécifié

Parameters:

ParamètreTypeDescription
channelNamejava.lang.StringQuel canal la séquence d’images clés sera liée à
sequenceKeyframeSequenceLa séquence d’images clés à lier

createKeyframeSequence(String name)

public KeyframeSequence createKeyframeSequence(String name)

Crée une nouvelle courbe et la connecte au premier canal du mappage de courbe

Parameters:

ParamètreTypeDescription
nomjava.lang.StringLe nom de la nouvelle séquence.

Returns: KeyframeSequence - The keyframe sequence.

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.

get(String channelName)

public AnimationChannel get(String channelName)

Obtient le canal par le nom donné

Parameters:

ParamètreTypeDescription
channelNamejava.lang.StringNom du canal

Returns: AnimationChannel - Animation channel

getChannel(String channelName)

public AnimationChannel getChannel(String channelName)

Obtient le canal par le nom donné

Parameters:

ParamètreTypeDescription
channelNamejava.lang.StringLe nom du canal à rechercher

Returns: AnimationChannel - Channel with the name

getChannelsCount()

public int getChannelsCount()

Obtient le nombre total de canaux de propriétés définis dans ce mappage de courbe d’animation.

Returns: int - Le nombre de canaux.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getKeyframeSequence(String channelName)

public KeyframeSequence getKeyframeSequence(String channelName)

Obtient la première séquence d’images clés dans le canal spécifié

Parameters:

ParamètreTypeDescription
channelNamejava.lang.StringLe nom du canal à rechercher

Returns: KeyframeSequence - First keyframe sequence with the channel name

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()

public Property getProperty()

Obtient la propriété associée au CurveMapping

Returns: Property - the property associated with the CurveMapping

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

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

resetChannels()

public void resetChannels()

Vide les canaux de propriétés de ce mappage de courbe d’animation.

setName(String value)

public void setName(String value)

Définit le nom.

Parameters:

ParamètreTypeDescription
valeurjava.lang.StringNouvelle valeur

setProperty(Property value)

public void setProperty(Property value)

Obtient la propriété associée au CurveMapping

Parameters:

ParamètreTypeDescription
valuePropertyNouvelle 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é

toString()

public String toString()

Formate l’objet en chaîne

Returns: java.lang.String - Chaîne d’objet

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