applyAnimation

actual fun applyAnimation(index: Int, time: Float)

Apply a glTF animation to the transform hierarchy.

Applies rotation, translation, and scale to entities targeted by the animation using TransformManager. The animation is sampled at the given time.

Parameters

index

Zero-based animation index.

time

Elapsed time in seconds.

expect fun applyAnimation(index: Int, time: Float)

Apply a glTF animation to the transform hierarchy.

Applies rotation, translation, and scale to entities targeted by the animation using TransformManager. The animation is sampled at the given time.

Parameters

index

Zero-based animation index.

time

Elapsed time in seconds.

actual fun applyAnimation(index: Int, time: Float)

Apply a glTF animation to the transform hierarchy.

Applies rotation, translation, and scale to entities targeted by the animation using TransformManager. The animation is sampled at the given time.

Parameters

index

Zero-based animation index.

time

Elapsed time in seconds.

actual fun applyAnimation(index: Int, time: Float)

Apply a glTF animation to the transform hierarchy.

Applies rotation, translation, and scale to entities targeted by the animation using TransformManager. The animation is sampled at the given time.

Parameters

index

Zero-based animation index.

time

Elapsed time in seconds.

actual fun applyAnimation(index: Int, time: Float)

Apply a glTF animation to the transform hierarchy.

Applies rotation, translation, and scale to entities targeted by the animation using TransformManager. The animation is sampled at the given time.

Parameters

index

Zero-based animation index.

time

Elapsed time in seconds.