Go to the source code of this file.
|
| Character | momentum::loadFullCharacter (const std::string &characterPath, const std::string ¶metersPath=std::string(), const std::string &locatorsPath=std::string(), LoadBlendShapes loadBlendShapes=LoadBlendShapes::No) |
| | High level function to load a character of any type, with a local path.
|
| Character | momentum::loadFullCharacterFromBuffer (CharacterFormat format, std::span< const std::byte > characterBuffer, std::span< const std::byte > paramBuffer=std::span< const std::byte >(), std::span< const std::byte > locBuffer=std::span< const std::byte >(), LoadBlendShapes loadBlendShapes=LoadBlendShapes::No) |
| | Buffer version of loadFullCharacter function, supports .glb and .fbx file formats.
|
| void | momentum::saveCharacter (const filesystem::path &filename, const Character &character, float fps=120.f, const MatrixXf &motion=MatrixXf(), std::span< const std::vector< Marker > > markerSequence={}, const FileSaveOptions &options=FileSaveOptions()) |
| | High level function to save a character with motion and markers to any supported format.
|
| void | momentum::saveCharacter (const filesystem::path &filename, const Character &character, float fps, std::span< const SkeletonState > skeletonStates, std::span< const std::vector< Marker > > markerSequence={}, const FileSaveOptions &options=FileSaveOptions()) |
| | High level function to save a character with motion in skeleton states and markers to any supported format.
|