Skip to content

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

PropertyDescription
FrameRateThe frame rate of the animation.
NameThe name of the Animation object. (Inherited from Object)
TotalFramesThe total number of frames in the animation.

Methods

MethodDescription
AddObserverAdds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object)
CreateTrackForNodeCreates a track for the given node GUID.
FindFrameForNodeFinds a track for the given node GUID.
FindTrackForNodeFinds a track for the given node GUID.
GetClassGet the name of the Animation class. (Inherited from Object)
GetTrackCountGets the number of tracks in the animation.
GetTracksGets a collection of all the animation tracks.
IsAReturns true if Animation is a or is a descendant of the class named as the type parameter. (Inherited from Object)
IsNullReturns true if the Animation object is invalid. (Inherited from Object)
IsSameObjectAsReturns true if the Animation object is valid. (Inherited from Object)
NonNullReturns true if the Animation object is valid. (Inherited from Object)
PrintInfoPrints the content/info of the Animation object to the log. (Inherited from Object)
RemoveObserverRemoves a previously added observer object. (Inherited from Object)
RemoveTrackForNodeRemoves a track for the given node GUID.

Static methods

MethodDescription
IsClassAReturns true if the class is a or is a descendant of the class named as the type parameter. (Inherited from Object)
SafeCastSafeCast 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)