MorphTargetChannel

MorphTargetChannel

Visión general

MorphTargetChannel es una clase en Aspose.3D FOSS para Python. Hereda de: A3DObject.

MorphTargetChannel.get_weight(target) devuelve el valor de peso para un morph target específico.

Esta clase declara 9 métodos para objetos MorphTargetChannel en programas Python. Los métodos disponibles incluyen: __init__, find_property, get_property, get_weight, remove_property, set_property, set_weight. Todos los miembros públicos son accesibles para cualquier aplicación Python después de instalar el paquete Aspose.3D FOSS para Python. Propiedades: channel_weight, name, properties, targets, weights.

Propiedades

NombreTipoAccesoDescripción
weights'list[float]'LecturaObtiene los pesos.
channel_weightfloatLectura/EscrituraObtiene o establece el peso del canal.
targets'list[Shape]'LecturaObtiene los objetivos.
namestrLectura/EscrituraObtiene o establece el nombre.
propertiesPropertyCollectionLecturaObtiene las propiedades.

Métodos

FirmaDescripción
__init__(name: str)Calls init(name) en esta instancia de MorphTargetChannel.
get_weight(target: 'Shape') → floatDevuelve el peso actual para el objetivo de morfología especificado, y set_weight(target, weight) lo actualiza
set_weight(target: 'Shape', weight: float)Establece el valor del peso.
get_weight(index: int) → floatLlama a get_weight(index) en esta instancia de MorphTargetChannel.
set_weight(index: int, weight: float)Establece el valor del peso.
find_property(property_name: str)Llama a find_property(property_name) en esta instancia de MorphTargetChannel.
get_property(property: str)Llama a get_property(property) en esta instancia de MorphTargetChannel.
set_property(property: str, value)Establece el valor de la propiedad.
remove_property(property)Llama a remove_property(property) en esta instancia de MorphTargetChannel.

Ver también

 Español