SushiEngine::Simulation::IWorldEditor
register_animator_clip
virtual std::uint32_t register_animator_clip(const std::string &gltf_path, std::uint32_t skeleton_handle)=0Parameters
| Name | Type |
|---|---|
gltf_path | const std::string & |
skeleton_handle | std::uint32_t |
Returns
std::uint32_t
A clip handle, which is what register_animator_controller registers internally for an Animator's trivial controller, or 0 if the file is missing, carries no clip, or skeleton_handle is invalid.
Description
Loads a glTF animation clip into the shared animation database (design §12.3).
See also
engine/world/simulation/include/EDITOR.md

