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

AnimationTrack

AnimationTrack

class AnimationTrack(val id: Int, val name: String, val length: Float)
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()
}

Constructors

NameSummary
AnimationTrack
constructor(id: Int, name: String, length: Float)

Properties

NameSummary
id
val id: Int
length
val length: Float
name
val name: String
Did you find this page helpful?
Thumbs up icon
Thumbs down icon