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
| Constructeur | Description |
|---|---|
| BindPoint(Scene scene, Property prop) | Initialise une nouvelle instance de la classe BindPoint. |
Méthodes
| Méthode | Description |
|---|---|
| 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ètre | Type | Description |
|---|---|---|
| scene | Scene | La scène qui contient l’animation. |
| prop | Property | Proprié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ètre | Type | Description |
|---|---|---|
| nom | java.lang.String | Nom. |
| type | java.lang.Class | Type. |
| valeur | java.lang.Object | Valeur. |
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ètre | Type | Description |
|---|---|---|
| nom | java.lang.String | Nom. |
| valeur | java.lang.Object | Valeur. |
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ètre | Type | Description |
|---|---|---|
| channelName | java.lang.String | Quel canal la séquence d’images clés sera liée à |
| sequence | KeyframeSequence | La 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ètre | Type | Description |
|---|---|---|
| nom | java.lang.String | Le nom de la nouvelle séquence. |
Returns: KeyframeSequence - The keyframe sequence.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| arg0 | java.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ètre | Type | Description |
|---|---|---|
| propertyName | java.lang.String | Nom 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ètre | Type | Description |
|---|---|---|
| channelName | java.lang.String | Nom du canal |
Returns: AnimationChannel - Animation channel
getChannel(String channelName)
public AnimationChannel getChannel(String channelName)
Obtient le canal par le nom donné
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| channelName | java.lang.String | Le 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ètre | Type | Description |
|---|---|---|
| channelName | java.lang.String | Le 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ètre | Type | Description |
|---|---|---|
| propriété | java.lang.String | Nom 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ètre | Type | Description |
|---|---|---|
| property | Property | Quelle 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ètre | Type | Description |
|---|---|---|
| propriété | java.lang.String | Quelle 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ètre | Type | Description |
|---|---|---|
| valeur | java.lang.String | Nouvelle valeur |
setProperty(Property value)
public void setProperty(Property value)
Obtient la propriété associée au CurveMapping
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| value | Property | Nouvelle 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ètre | Type | Description |
|---|---|---|
| propriété | java.lang.String | Nom de la propriété |
| valeur | java.lang.Object | La 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ètre | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |