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

Function ComponentTypeSetPrio

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

Source from the content-addressed store, hash-verified

125void ComponentTypeSetContext(HComponentType type, void* context) { type->m_Context = context; }
126void ComponentTypeSetReadsTransforms(HComponentType type, bool reads_transforms) { type->m_ReadsTransforms = reads_transforms?1:0; }
127void ComponentTypeSetPrio(HComponentType type, uint16_t prio) { type->m_UpdateOrderPrio = prio; }
128void ComponentTypeSetHasUserData(HComponentType type, bool has_user_data) { type->m_InstanceHasUserData = has_user_data; }
129void ComponentTypeSetChildIteratorFn(HComponentType type, FIteratorChildren fn) { type->m_IterChildren = fn; }
130void ComponentTypeSetPropertyIteratorFn(HComponentType type, FIteratorProperties fn) { type->m_IterProperties = fn; }

Callers 6

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

Calls

no outgoing calls

Tested by

no test coverage detected