AnimationNode
Panoramica
AnimationNode è una classe in Aspose.3D FOSS per Python. Eredita da: A3DObject.
AnimationNode.find_bind_point restituisce il BindPoint corrispondente all’oggetto target e al nome forniti.
Questa classe dichiara 9 metodi per oggetti AnimationNode nei programmi Python. I metodi disponibili includono: __init__, create_bind_point, find_bind_point, find_property, get_bind_point, get_keyframe_sequence, get_property, remove_property, set_property. Tutti i membri pubblici sono accessibili a qualsiasi applicazione Python dopo l’installazione del pacchetto Aspose.3D FOSS per Python. Proprietà: bind_points, name, properties, sub_animations.
Proprietà
| Nome | Tipo | Accesso | Descrizione |
|---|---|---|---|
name | str | Lettura/Scrittura | Ottiene o imposta il nome. |
properties | `` | Lettura | Ottiene le proprietà. |
bind_points | List['BindPoint'] | Lettura | Ottiene i punti di bind. |
sub_animations | List['AnimationNode'] | Lettura | Ottiene le sottoanimazioni. |
Metodi
| Firma | Descrizione |
|---|---|
__init__(name: str) | Calls init(name) su questa istanza AnimationNode. |
find_bind_point(target: 'A3DObject', name: str) → 'BindPoint' | Restituisce il BindPoint corrispondente all’oggetto target e al nome specificati |
get_bind_point(target: 'A3DObject', prop_name: str, create: bool) → 'BindPoint' | Recupera o, facoltativamente, crea un BindPoint per la proprietà dell’oggetto target |
create_bind_point(obj: 'A3DObject', prop_name: str) → 'BindPoint' | Crea un nuovo BindPoint per l’oggetto specificato e il nome della proprietà |
get_keyframe_sequence(target: 'A3DObject', prop_name: str, channel_name: str, create: bool) → 'KeyframeSequence' | Ottiene o crea un KeyframeSequence per il canale della proprietà dell’oggetto di destinazione |
find_property(property_name: str) | Chiama find_property(property_name) su questa istanza di AnimationNode. |
get_property(property: str) | Chiama get_property(property) su questa istanza di AnimationNode. |
set_property(property: str, value) | Imposta il valore della proprietà. |
remove_property(property) | Chiama remove_property(property) su questa istanza di AnimationNode. |