Logo Mibo

AnimatedModel Type

An animated model: shared skeleton/mesh data plus a per-entity playback state.

This is the opt-in GPU skinning path: drawing an AnimatedModel emits DrawSkinnedMesh commands with a bone palette instead of mutating the model via UpdateModelAnimation, so the same model can be drawn with several different poses in one frame. The legacy bare Animation3DState path keeps mutating the model and keeps working unchanged.

Record fields

Record Field Description

Mesh

Full Usage: Mesh

Field type: AnimatedMesh

The shared skeleton/mesh data (load once per model).

Field type: AnimatedMesh

State

Full Usage: State

Field type: Animation3DState

The per-entity playback state. Also carries the raylib Model the meshes are drawn from.

Field type: Animation3DState

Type something to start searching.