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

Function PostUpdate

engine/rig/src/rig.cpp:855–869  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

853 }
854
855 static Result PostUpdate(HRigContext context)
856 {
857 const dmArray<RigInstance*>& instances = context->m_Instances.GetRawObjects();
858 uint32_t count = instances.Size();
859 bool updated_pose = false;
860 for (uint32_t i = 0; i < count; ++i)
861 {
862 RigInstance* instance = instances[i];
863 if (DoPostUpdate(instance)) {
864 updated_pose = true;
865 }
866 }
867
868 return updated_pose ? dmRig::RESULT_UPDATED_POSE : dmRig::RESULT_OK;
869 }
870
871 static bool DoPostUpdate(RigInstance* instance)
872 {

Callers 3

UpdateFunction · 0.70
DeleteFunction · 0.50
StepFrameFunction · 0.50

Calls 2

DoPostUpdateFunction · 0.85
SizeMethod · 0.45

Tested by

no test coverage detected