# [set_bone_matrix](set_bone_matrix.hpp)

```cpp
void set_bone_matrix(const entt::registry & r, const char * bone, const glm::mat4 & m, bone_matrices & matrices, const bone_names & names);
```

Sets the mesh-space matrix for a given bone.