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
| Nombre | Tipo | Acceso | Descripción |
|---|---|---|---|
weights | 'list[float]' | Lectura | Obtiene los pesos. |
channel_weight | float | Lectura/Escritura | Obtiene o establece el peso del canal. |
targets | 'list[Shape]' | Lectura | Obtiene los objetivos. |
name | str | Lectura/Escritura | Obtiene o establece el nombre. |
properties | PropertyCollection | Lectura | Obtiene las propiedades. |
Métodos
| Firma | Descripción |
|---|---|
__init__(name: str) | Calls init(name) en esta instancia de MorphTargetChannel. |
get_weight(target: 'Shape') → float | Devuelve 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) → float | Llama 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. |