MorphTargetDeformer
Inheritance: java.lang.Object, com.aspose.threed.A3DObject, com.aspose.threed.Deformer
public class MorphTargetDeformer extends Deformer
MorphTargetDeformer fournit une animation par sommet. MorphTargetDeformer organise toutes les cibles via MorphTargetChannel, chaque canal peut organiser plusieurs cibles. Une utilisation courante du déformeur de cible morphologique est d’appliquer une expression faciale à un personnage. Plus de détails sont disponibles sur https://en.wikipedia.org/wiki/Morph_target_animation
Constructeurs
| Constructeur | Description |
|---|---|
| MorphTargetDeformer(String name) | Initialise une nouvelle instance de la classe MorphTargetDeformer. |
| MorphTargetDeformer() | Initialise une nouvelle instance de la classe MorphTargetDeformer. |
Méthodes
| Méthode | Description |
|---|---|
| equals(Object arg0) | |
| findProperty(String propertyName) | Trouve la propriété. |
| get(Shape target) | Obtient le poids pour la géométrie donnée, c’est une façon raccourcie de modifier le poids d’une cible sans accéder au canal. |
| getChannels() | Obtient tous les canaux contenus dans ce déformeur |
| getClass() | |
| getName() | Obtient le nom. |
| getOwner() | Obtient la géométrie qui possède ce deformer |
| getProperties() | Obtient la collection de toutes les propriétés. |
| 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 |
| set(Shape target, double value) | Définit le poids pour la géométrie donnée, c’est une façon raccourcie de modifier le poids d’une cible sans accéder au canal. |
| setName(String value) | Définit le nom. |
| setProperty(String property, Object value) | Définit la valeur de la propriété spécifiée |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
MorphTargetDeformer(String name)
public MorphTargetDeformer(String name)
Initialise une nouvelle instance de la classe MorphTargetDeformer.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| nom | java.lang.String | Nom. |
MorphTargetDeformer()
public MorphTargetDeformer()
Initialise une nouvelle instance de la classe MorphTargetDeformer.
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(Shape target)
public double get(Shape target)
Obtient le poids pour la géométrie donnée, c’est une façon raccourcie de modifier le poids d’une cible sans accéder au canal.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| target | Shape | Géométrie cible |
Returns: double - Poids
getChannels()
public List<MorphTargetChannel> getChannels()
Obtient tous les canaux contenus dans ce déformeur
Returns: java.util.List<com.aspose.threed.MorphTargetChannel> - tous les canaux contenus dans ce déformeur
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getName()
public String getName()
Obtient le nom.
Returns: java.lang.String - le nom.
getOwner()
public Geometry getOwner()
Obtient la géométrie qui possède ce deformer
Returns: Geometry - the geometry which owns this deformer
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è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
set(Shape target, double value)
public void set(Shape target, double value)
Définit le poids pour la géométrie donnée, c’est une façon raccourcie de modifier le poids d’une cible sans accéder au canal.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| target | Shape | Géométrie cible |
| valeur | double | Nouvelle valeur |
setName(String value)
public void setName(String value)
Définit le nom.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| valeur | java.lang.String | 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()
Returns: java.lang.String
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 |