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

Function CompAnimcInit

engine/gameobject/src/gameobject/gameobject_comp.cpp:51–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 }
50
51 static Result CompAnimcInit(const ComponentTypeCreateCtx* ctx, ComponentType* type)
52 {
53 ComponentTypeSetPrio(type, 250);
54 ComponentTypeSetReadsTransforms(type, true);
55 ComponentTypeSetNewWorldFn(type, CompAnimNewWorld);
56 ComponentTypeSetDeleteWorldFn(type, CompAnimDeleteWorld);
57 ComponentTypeSetAddToUpdateFn(type, CompAnimAddToUpdate);
58 ComponentTypeSetUpdateFn(type, CompAnimUpdate);
59 return dmGameObject::RESULT_OK;
60 }
61
62}
63

Callers

nothing calls this directly

Tested by

no test coverage detected