MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / OnSkinnedModelChanged

Method OnSkinnedModelChanged

Source/Engine/Level/Actors/AnimatedModel.cpp:971–982  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

969}
970
971void AnimatedModel::OnSkinnedModelChanged()
972{
973 Entries.Release();
974 if (SkinnedModel && !SkinnedModel->IsLoaded())
975 {
976 UpdateBounds();
977 GraphInstance.Invalidate();
978 }
979 if (_deformation)
980 _deformation->Clear();
981 GraphInstance.NodesSkeleton = SkinnedModel;
982}
983
984void AnimatedModel::OnSkinnedModelLoaded()
985{

Callers

nothing calls this directly

Calls 4

ReleaseMethod · 0.45
IsLoadedMethod · 0.45
InvalidateMethod · 0.45
ClearMethod · 0.45

Tested by

no test coverage detected