Model Clip
class ModelClip(val action: String, val facing: String, val frames: List<ModelFrame>, val loop: Boolean, val origin: String)
One finished animation the artist imported as reference: an action and facing, its frames at one size with their durations, and whether it loops. A model is read-only; it is stored under the profile's models/<action>_<facing>/ folder.
Constructors
Functions
Link copied to clipboard
The index of the model frame shown with key frame index of keyFrameCount: the nearest to index * (n - 1) / (k - 1) for n model frames and k key frames, in exact integer arithmetic with halves rounded up. One key frame shows the first model frame.
Link copied to clipboard
The model.json content: everything but the pictures.