27std::tuple<MotionParameters, IdentityParameters>
getMotionFromModel(fx::gltf::Document& model);
40 fx::gltf::Document& model);
48 const std::variant<filesystem::path, std::span<const std::byte>>& input,
57 const std::variant<filesystem::path, std::span<const std::byte>>& input,
64std::tuple<Character, std::vector<SkeletonState>, std::vector<float>>
66 const std::variant<filesystem::path, std::span<const std::byte>>& input);
std::tuple< MotionParameters, IdentityParameters > getMotionFromModel(fx::gltf::Document &model)
Get motion parameters from a glTF model.
float calculateFpsFromAnimationData(const fx::gltf::Document &model)
Calculate FPS from glTF animation data.
std::tuple< MatrixXf, JointParameters, float > loadMotionOnCharacterCommon(const std::variant< filesystem::path, std::span< const std::byte > > &input, const Character &character)
Load motion onto a character (common implementation).
std::tuple< Character, std::vector< SkeletonState >, std::vector< float > > loadCharacterWithSkeletonStatesCommon(const std::variant< filesystem::path, std::span< const std::byte > > &input)
Load character with skeleton states from input (common implementation).
std::tuple< Character, MatrixXf, JointParameters, float > loadCharacterWithMotionCommon(const std::variant< filesystem::path, std::span< const std::byte > > &input, bool mapParameters)
Load character with motion from input (common implementation).
Eigen::VectorX< T > mapParameters(const ModelParametersT< T > &in, const std::vector< size_t > &mp)
std::tuple< MotionParameters, IdentityParameters, float > loadMotionFromModel(fx::gltf::Document &model)
Load motion data from a glTF model.
A character model with skeletal structure, mesh, and optional components.