MorphTargetChannel
Vue d’ensemble
MorphTargetChannel est une classe dans Aspose.3D FOSS pour Python. Hérite de : A3DObject.
MorphTargetChannel.get_weight(target) renvoie la valeur de poids pour une cible morphologique spécifique.
Cette classe déclare 9 méthodes pour les objets MorphTargetChannel dans les programmes Python. Les méthodes disponibles incluent : __init__, find_property, get_property, get_weight, remove_property, set_property, set_weight. Tous les membres publics sont accessibles à toute application Python après l’installation du paquet Aspose.3D FOSS pour Python. Propriétés : channel_weight, name, properties, targets, weights.
Propriétés
| Nom | Type | Accès | Description |
|---|---|---|---|
weights | 'list[float]' | Lecture | Obtient les poids. |
channel_weight | float | Lecture/Écriture | Obtient ou définit le poids du canal. |
targets | 'list[Shape]' | Lecture | Obtient les cibles. |
name | str | Lecture/Écriture | Obtient ou définit le nom. |
properties | PropertyCollection | Lecture | Obtient les propriétés. |
Méthodes
| Signature | Description |
|---|---|
__init__(name: str) | Calls init(name) sur cette instance MorphTargetChannel. |
get_weight(target: 'Shape') → float | Renvoie le poids actuel pour la cible de morph spécifiée, et set_weight(target, weight) le met à jour |
set_weight(target: 'Shape', weight: float) | Définit la valeur du poids. |
get_weight(index: int) → float | Appelle get_weight(index) sur cette instance MorphTargetChannel. |
set_weight(index: int, weight: float) | Définit la valeur du poids. |
find_property(property_name: str) | Appelle find_property(property_name) sur cette instance MorphTargetChannel. |
get_property(property: str) | Appelle get_property(property) sur cette instance MorphTargetChannel. |
set_property(property: str, value) | Définit la valeur de la propriété. |
remove_property(property) | Appelle remove_property(property) sur cette instance MorphTargetChannel. |