MorphTargetChannel

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

NomTypeAccèsDescription
weights'list[float]'LectureObtient les poids.
channel_weightfloatLecture/ÉcritureObtient ou définit le poids du canal.
targets'list[Shape]'LectureObtient les cibles.
namestrLecture/ÉcritureObtient ou définit le nom.
propertiesPropertyCollectionLectureObtient les propriétés.

Méthodes

SignatureDescription
__init__(name: str)Calls init(name) sur cette instance MorphTargetChannel.
get_weight(target: 'Shape') → floatRenvoie 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) → floatAppelle 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.

Voir aussi

 Français