BindPoint
Panoramica
BindPoint è una classe in Aspose.3D FOSS per Python. Eredita da: A3DObject.
BindPoint collega una proprietà a uno o più oggetti AnimationChannel, consentendo la creazione, il recupero e il reset del canale.
Questa classe dichiara 14 metodi per oggetti BindPoint nei programmi Python. I metodi disponibili includono: __init__, add_channel, bind_keyframe_sequence, channels_count, create_keyframe_sequence, find_property, get_channel, get_keyframe_sequence, get_property, property, remove_property, reset_channels e 1 metodo aggiuntivo. Tutti i membri pubblici sono accessibili a qualsiasi applicazione Python dopo l’installazione del pacchetto Aspose.3D FOSS per Python. Proprietà: name, properties.
Proprietà
| Nome | Tipo | Accesso | Descrizione |
|---|---|---|---|
name | str | Lettura/Scrittura | Ottiene o imposta il nome. |
properties | `` | Lettura | Ottiene le proprietà. |
Metodi
| Firma | Descrizione |
|---|---|
__init__(scene: 'Scene', prop: 'Property') | Calls init(scene, prop) su questa istanza di BindPoint. |
add_channel(name: str, value: Any, type) → bool | Aggiunge un nuovo canale di animazione con il nome, il valore e il tipo specificati, restituendo True in caso di successo |
get_keyframe_sequence(channel_name: str) → 'KeyframeSequence' | Restituisce il KeyframeSequence associato al nome del canale specificato |
create_keyframe_sequence(name: str) → 'KeyframeSequence' | Crea e restituisce un nuovo KeyframeSequence identificato dal nome fornito |
bind_keyframe_sequence(channel_name: str, sequence: 'KeyframeSequence') | Collega il KeyframeSequence specificato al canale di animazione nominato |
get_channel(channel_name: str) → 'AnimationChannel' | Recupera l’oggetto AnimationChannel per il nome del canale fornito |
reset_channels() | Rimuove tutti i canali e i loro binding dal BindPoint |
property() → 'Property' | Restituisce la collezione Property associata a questo BindPoint |
channels_count() → int | Restituisce il numero di canali di animazione attualmente definiti |
__init__(name: str) | Calls init(name) su questa istanza BindPoint. |
find_property(property_name: str) | Chiama find_property(property_name) su questa istanza BindPoint. |
get_property(property: str) | Chiama get_property(property) su questa istanza BindPoint. |
set_property(property: str, value) | Imposta il valore della proprietà. |
remove_property(property) | Chiama remove_property(property) su questa istanza BindPoint. |