API reference
API reference
Select your platform
No SDKs available
No versions available

AnimationTrack Class

Modifiers: final
Represents an animation track, which is a sequence of animations that can be played back.
Can be retrieved from an entity via scene object.
systemManager.findSystem<SceneObjectSystem>().getSceneObject(entity)?.thenAccept { so ->
    val animationTracks = so.mesh?.getAnimationTracks()
}

Signature

class AnimationTrack(val id: Int, val name: String, val length: Float)

Constructors

AnimationTrack ( id , name , length )
Signature
constructor(id: Int, name: String, length: Float)
Parameters
id: Int
  a unique identifier for the animation track
name: String
  a human-readable name for the animation track
length: Float
  the total length of the animation track in seconds

Properties

id : Int
[Get]
Signature
val id: Int
length : Float
[Get]
Signature
val length: Float
name : String
[Get]
Signature
val name: String
Did you find this page helpful?