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

Function GetFactory

engine/gameobject/src/gameobject/gameobject.cpp:3143–3149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3141 }
3142
3143 dmResource::HFactory GetFactory(HCollection hcollection)
3144 {
3145 if (hcollection && hcollection->m_Collection)
3146 return hcollection->m_Collection->m_Factory;
3147 else
3148 return 0x0;
3149 }
3150
3151 dmResource::HFactory GetFactory(HInstance instance)
3152 {

Callers 3

GetComponentFromLuaFunction · 0.70
GetWorldFunction · 0.70
Lua_SpawnFunction · 0.50

Calls

no outgoing calls

Tested by 1

Lua_SpawnFunction · 0.40