MCPcopy Create free account
hub / github.com/defold/defold / CancelAnimation

Function CancelAnimation

engine/rig/src/rig.cpp:171–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169 }
170
171 Result CancelAnimation(HRigInstance instance)
172 {
173 RigPlayer* player = GetPlayer(instance);
174 player->m_Playing = 0;
175 instance->m_HasPoseMatrixCacheAnimatedPose = 0;
176
177 return dmRig::RESULT_OK;
178 }
179
180 dmhash_t GetAnimation(HRigInstance instance)
181 {

Callers 2

TEST_FFunction · 0.50
CompModelOnMessageFunction · 0.50

Calls 1

GetPlayerFunction · 0.85

Tested by 1

TEST_FFunction · 0.40