Companion

object Companion

The companion object of AnimationResource.

Functions

Link copied to clipboard
@JvmStatic
fun generate(animation: SpatialAnimation): AnimationResource

Generates an AnimationResource instance based on the provided subclass of SpatialAnimation.

Link copied to clipboard

Generates an AnimationResource instance for the from-to-by animation.

Link copied to clipboard
@JvmStatic
fun group(with: List<AnimationResource>): AnimationResource

Groups multiple AnimationResource objects into a single AnimationResource.

Link copied to clipboard
@JvmStatic
fun sequence(with: List<AnimationResource>): AnimationResource

Creates a sequence of multiple AnimationResource objects in the given list order.