KeyframeSequence
Panoramica
KeyframeSequence è una classe in Aspose.3D FOSS per TypeScript. Eredita da: A3DObject.
KeyframeSequence.constructor crea una nuova sequenza e opzionalmente assegna un nome.
Questa classe dichiara 10 metodi per oggetti KeyframeSequence nei programmi TypeScript. I metodi disponibili includono: add, constructor, findProperty, getProperty, removeProperty, reset, setBindPoint, setProperty, toString. I membri pubblici sono accessibili da qualsiasi applicazione TypeScript dopo aver installato il pacchetto Aspose.3D FOSS per TypeScript. Proprietà: bindPoint, keyFrames, name, postBehavior, preBehavior, properties.
Proprietà
| Nome | Tipo | Accesso | Descrizione |
|---|---|---|---|
name | string | Lettura/Scrittura | Ottiene il nome. |
properties | PropertyCollection | Lettura | Ottiene le proprietà. |
bindPoint | `BindPoint | null` | Lettura |
keyFrames | KeyFrame[] | Lettura | Ottiene i fotogrammi chiave. |
postBehavior | Extrapolation | Lettura | Ottiene il comportamento post. |
preBehavior | Extrapolation | Lettura | Ottiene il comportamento pre. |
Metodi
| Firma | Descrizione |
|---|---|
| `constructor(name: string | null)` |
reset() | Cancella tutti i keyframes e ripristina le impostazioni di comportamento predefinite |
add(time: number, value: number, interpolation: Interpolation) | Inserisce un fotogramma chiave al tempo specificato con un valore e una modalità di interpolazione |
setBindPoint(value: BindPoint) | Imposta il valore del punto di bind. |
constructor(name: string) | Chiama il costruttore(name) su questa istanza di KeyframeSequence. |
findProperty(propertyName: string) → `Property | null` |
getProperty(property: string) → any | Chiama getProperty(property) su questa istanza di KeyframeSequence. |
setProperty(property: string, value: any) | Imposta il valore della proprietà. |
| `removeProperty(property: string | Property)→boolean` |
toString() → string | Chiama toString su questa istanza di KeyframeSequence. |