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

Method set

include/ModelAnimation.hpp:108–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 RLCPP_NODISCARD bool IsValid(const ::Model& model) const { return ::IsModelAnimationValid(model, *this); }
107protected:
108 void set(const ::ModelAnimation& model) {
109 boneCount = model.boneCount;
110 keyframeCount = model.keyframeCount;
111 keyframePoses = model.keyframePoses;
112
113 // Duplicate the name. TextCopy() uses the null terminator, which we ignore here.
114 for (int i = 0; i < 32; i++) {
115 name[i] = model.name[i];
116 }
117 }
118};
119} // namespace raylib
120

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected