AnimationClip
Overview
AnimationClip is a class in Aspose.3D FOSS for TypeScript.
Inherits from: SceneObject.
AnimationClip.constructor creates a new animation clip with the specified name.
This class declares 7 methods for AnimationClip objects in TypeScript programs.
Available methods include: constructor, createAnimationNode, findProperty, getProperty, removeProperty, setProperty, toString.
Public members are accessible to any TypeScript application after installing the Aspose.3D FOSS for TypeScript package.
Properties: animations, description, name, properties, scene, start, and 1 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | string | Read/Write | Gets the name. |
properties | PropertyCollection | Read | Gets the properties. |
animations | AnimationNode[] | Read | Gets the animations. |
description | string | Read/Write | Gets the description. |
start | number | Read/Write | Gets the start. |
stop | number | Read/Write | Gets the stop. |
scene | Scene | null | Read/Write | Gets the scene. |
Methods
| Signature | Description |
|---|---|
constructor(name: string) | Creates a new animation clip with the specified name |
createAnimationNode(nodeName: string) → AnimationNode | Creates an AnimationNode linked to the given node name |
findProperty(propertyName: string) → Property | null | Calls findProperty(propertyName) on this AnimationClip instance. |
getProperty(property: string) → any | Calls getProperty(property) on this AnimationClip instance. |
setProperty(property: string, value: any) | Sets the property value. |
removeProperty(property: string | Property) → boolean | Calls removeProperty(property) on this AnimationClip instance. |
toString() → string | Calls toString on this AnimationClip instance. |