Contents

SushiEngine::Simulation::IWorldEditor

register_animator_skeleton

virtual std::uint32_t register_animator_skeleton(const std::string &gltf_path)=0

Parameters

NameTypeDescription
gltf_pathconst std::string &

Filesystem path to a .gltf/.glb file naming a skeleton.

Returns

std::uint32_t

A handle for AnimatorParameters::skeleton, or 0 if the file is missing or carries no skeleton.

Description

Loads a glTF skeleton into the shared animation database (design §12.3).

See also

engine/world/simulation/include/EDITOR.md