filament-umbrella
Toggle table of contents
0.3.1
common
Target filter
common
Switch theme
Search in API
Skip to content
filament-umbrella
filament-compose
/
io.github.erkko68.filament.compose.scene
/
AnimationMixer
/
addTrack
add
Track
fun
addTrack
(
index
:
Int
,
weight
:
Float
=
1.0f
,
speed
:
Float
=
1.0f
,
loop
:
Boolean
=
true
,
time
:
Float
=
0.0f
)
:
AnimationTrack
Creates a weighted track, adds it, and returns it for later mutation.