class Animation
Represents an animation sequence. Currently animation and related types are API-only and not used by processors or external format's like *FBX, USD, GLTF, BGEO and etc)
Properties
| Property | Description |
|---|---|
| FrameRate | The frame rate of the animation. |
| Name | The name of the Animation object. (Inherited from Object) |
| TotalFrames | The total number of frames in the animation. |
Methods
| Method | Description |
|---|---|
| AddObserver | Adds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object) |
| CreateTrackForNode | Creates a track for the given node GUID. |
| FindFrameForNode | Finds a track for the given node GUID. |
| FindTrackForNode | Finds a track for the given node GUID. |
| GetClass | Get the name of the Animation class. (Inherited from Object) |
| GetTrackCount | Gets the number of tracks in the animation. |
| GetTracks | Gets a collection of all the animation tracks. |
| IsA | Returns true if Animation is a or is a descendant of the class named as the type parameter. (Inherited from Object) |
| IsNull | Returns true if the Animation object is invalid. (Inherited from Object) |
| IsSameObjectAs | Returns true if the Animation object is valid. (Inherited from Object) |
| NonNull | Returns true if the Animation object is valid. (Inherited from Object) |
| PrintInfo | Prints the content/info of the Animation object to the log. (Inherited from Object) |
| RemoveObserver | Removes a previously added observer object. (Inherited from Object) |
| RemoveTrackForNode | Removes a track for the given node GUID. |
Static methods
| Method | Description |
|---|---|
| IsClassA | Returns true if the class is a or is a descendant of the class named as the type parameter. (Inherited from Object) |
| SafeCast | SafeCast makes sure the input object is of a class that can be cast into spAnimation, and if this is the case, returns the object cast into spAnimation. (Inherited from Object) |
Properties details
FrameRate
The frame rate of the animation.
Name
The name of the Animation object. (Inherited from Object)
TotalFrames
The total number of frames in the animation.
Methods details
AddObserver
Adds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object)
CreateTrackForNode
Creates a track for the given node GUID.
FindFrameForNode
Finds a track for the given node GUID.
FindTrackForNode
Finds a track for the given node GUID.
GetClass
Get the name of the Animation class. (Inherited from Object)
GetTrackCount
Gets the number of tracks in the animation.
GetTracks
Gets a collection of all the animation tracks.
IsA
Returns true if Animation is a or is a descendant of the class named as the type parameter. (Inherited from Object)
IsNull
Returns true if the Animation object is invalid. (Inherited from Object)
IsSameObjectAs
Returns true if the Animation object is valid. (Inherited from Object)
NonNull
Returns true if the Animation object is valid. (Inherited from Object)
PrintInfo
Prints the content/info of the Animation object to the log. (Inherited from Object)
RemoveObserver
Removes a previously added observer object. (Inherited from Object)
RemoveTrackForNode
Removes a track for the given node GUID.
Static methods details
IsClassA
Returns true if the class is a or is a descendant of the class named as the type parameter. (Inherited from Object)
SafeCast
SafeCast makes sure the input object is of a class that can be cast into spAnimation, and if this is the case, returns the object cast into spAnimation. (Inherited from Object)
