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

Function StopAnimation

engine/gameobject/src/gameobject/comp_anim.cpp:121–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119 }
120
121 static void StopAnimation(Animation* anim, bool finished)
122 {
123 anim->m_Finished = finished;
124 anim->m_Playing = 0;
125 }
126
127 static void StopAnimations(AnimWorld* world, uint16_t* head_ptr, dmhash_t component_id, dmhash_t property_id)
128 {

Callers 4

StopAnimationsFunction · 0.85
StopAllAnimationsFunction · 0.85
CompAnimUpdateFunction · 0.85
CancelAnimationsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected