SushiEngine::Simulation::IWorldEditor
register_animator_controller
virtual std::uint32_t register_animator_controller(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 handle for AnimatorParameters::controller, or 0 when the skeleton handle is not one, the file is missing, it holds no animation, or the compile fails.
Description
Compiles a one-clip controller for skeleton_handle and registers it.
See also
engine/world/simulation/include/EDITOR.md

