| 89 | } |
| 90 | |
| 91 | void MeshDeformation::AddDeformer(int32 lodIndex, int32 meshIndex, MeshBufferType type, const Function<void(const MeshBase* mesh, MeshDeformationData& deformation)>& deformer) |
| 92 | { |
| 93 | const auto key = GetKey(lodIndex, meshIndex, type); |
| 94 | _deformers[key].Bind(deformer); |
| 95 | Dirty(lodIndex, meshIndex, type); |
| 96 | } |
| 97 | |
| 98 | void MeshDeformation::RemoveDeformer(int32 lodIndex, int32 meshIndex, MeshBufferType type, const Function<void(const MeshBase* mesh, MeshDeformationData& deformation)>& deformer) |
| 99 | { |
no test coverage detected