MCPcopy Create free account
hub / github.com/KTStephano/StratusGFX / IsLightInteracting

Function IsLightInteracting

Source/Engine/StratusRendererBackend.cpp:27–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27bool IsLightInteracting(const EntityPtr& p) {
28 auto component = p->Components().GetComponent<LightInteractionComponent>();
29 return component.status == EntityComponentStatus::COMPONENT_ENABLED;
30}
31
32size_t GetMeshCount(const EntityPtr& p) {
33 return p->Components().GetComponent<RenderComponent>().component->GetMeshCount();

Callers 2

AddEntity_Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected