ModelAnimation

constructor(model: AnimatableModel, name: String, index: Int, duration: Float, frameRate: Int)

ModelAnimation constructed from an Animator

Parameters

name

This name should corresponds to the one defined and exported in the AnimatableModel. Typically the action name defined in the 3D creation software.

index

Zero-based index of the target animation as defined in the original AnimatableModel

duration

This original AnimatableModel duration

frameRate

The frames per second defined in the original animation asset