MCPcopy Create free account
hub / github.com/Illation/ETEngine / GetComponentData

Method GetComponentData

Engine/source/EtFramework/ECS/EcsController.cpp:505–510  ·  view source on GitHub ↗

--------------------------------- EcsController::GetComponentData

Source from the content-addressed store, hash-verified

503// EcsController::GetComponentData
504//
505void* EcsController::GetComponentData(T_EntityId const entity, T_CompTypeIdx const compType)
506{
507 EntityData& ent = m_Entities[entity];
508
509 return ent.archetype->GetPool(compType).At(ent.index);
510}
511
512//---------------------------------
513// EcsController::GetComponentData

Callers 4

PostLoadEntityMethod · 0.80
operator[]Method · 0.80
DuplicateEntityMethod · 0.80
CalcParentPointersMethod · 0.80

Calls 1

AtMethod · 0.80

Tested by

no test coverage detected