MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / Load

Method Load

include/ModelAnimation.hpp:35–44  ·  view source on GitHub ↗

* Load model animations from file */

Source from the content-addressed store, hash-verified

33 * Load model animations from file
34 */
35 static std::vector<ModelAnimation> Load(const std::string& fileName) {
36 int count = 0;
37 ::ModelAnimation* modelAnimations = ::LoadModelAnimations(fileName.c_str(), &count);
38
39 std::vector<ModelAnimation> mats(modelAnimations, modelAnimations + count);
40
41 RL_FREE(modelAnimations);
42
43 return mats;
44 }
45
46 GETTERSETTER(int, BoneCount, boneCount)
47 GETTERSETTER(int, KeyframeCount, keyframeCount)

Callers

nothing calls this directly

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected