BindPoint
Panoramica
BindPoint è una classe in Aspose.3D FOSS per TypeScript. Eredita da: A3DObject.
BindPoint.constructor inizializza un BindPoint con una Scene opzionale e una Property.
Questa classe dichiara 13 metodi per oggetti BindPoint nei programmi TypeScript. I metodi disponibili includono: addChannel, bindKeyframeSequence, constructor, createKeyframeSequence, findProperty, getChannel, getKeyframeSequence, getProperty, removeProperty, resetChannels, setProperty, toString. I membri pubblici sono accessibili a qualsiasi applicazione TypeScript dopo l’installazione del pacchetto Aspose.3D FOSS per TypeScript. Proprietà: channelsCount, name, properties, property, scene.
Proprietà
| Nome | Tipo | Accesso | Descrizione |
|---|---|---|---|
name | string | Lettura/Scrittura | Ottiene il nome. |
properties | PropertyCollection | Lettura | Ottiene le proprietà. |
property | Property | Lettura | Ottiene la proprietà. |
channelsCount | number | Lettura | Ottiene il conteggio dei canali. |
scene | `Scene | null` | Lettura |
Metodi
| Firma | Descrizione |
|---|---|
| `constructor(scene: Scene | null, prop: Property)` |
addChannel(name: string, value: any, _type: any) → boolean | Aggiunge un canale con nome, valore e tipo, restituendo true in caso di successo |
getKeyframeSequence(channelName: string) → `KeyframeSequence | null` |
createKeyframeSequence(name: string) → KeyframeSequence | Crea un nuovo KeyframeSequence con il nome fornito |
bindKeyframeSequence(channelName: string, sequence: KeyframeSequence) | Associa un KeyframeSequence al nome del canale specificato |
getChannel(channelName: string) → `AnimationChannel | null` |
resetChannels() | Rimuove tutti i canali di animazione dal punto di collegamento |
constructor(name: string) | Chiama il costruttore(name) su questa istanza di BindPoint. |
findProperty(propertyName: string) → `Property | null` |
getProperty(property: string) → any | Chiama getProperty(property) su questa istanza di BindPoint. |
setProperty(property: string, value: any) | Imposta il valore della proprietà. |
| `removeProperty(property: string | Property)→boolean` |
toString() → string | Chiama toString su questa istanza di BindPoint. |