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

Function ComponentTypeSetUpdateFn

engine/gameobject/src/gameobject/component.cpp:115–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113void ComponentTypeSetGetFn(HComponentType type, ComponentGet fn) { type->m_GetFunction = fn; }
114void ComponentTypeSetRenderFn(HComponentType type, ComponentsRender fn) { type->m_RenderFunction = fn; }
115void ComponentTypeSetUpdateFn(HComponentType type, ComponentsUpdate fn) { type->m_UpdateFunction = fn; }
116void ComponentTypeSetLateUpdateFn(HComponentType type, ComponentsUpdate fn) { type->m_LateUpdateFunction = fn; }
117void ComponentTypeSetFixedUpdateFn(HComponentType type, ComponentsUpdate fn) { type->m_FixedUpdateFunction = fn; }
118void ComponentTypeSetPostUpdateFn(HComponentType type, ComponentsPostUpdate fn) { type->m_PostUpdateFunction = fn; }

Callers 5

CompScriptcInitFunction · 0.85
CompAnimcInitFunction · 0.85
CompMeshTypeCreateFunction · 0.85
CompGuiTypeCreateFunction · 0.85
CompSoundcInitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected