RenderLayerComponent
A component that defines which layers an entity participates in.
Declaration
struct RenderLayerComponentOverview
Add a RenderLayerComponent to an entity to control which lights illuminate it and which lights it casts shadows from. A light affects this entity when the entity’s layers intersect with the light’s layers, for example layers, layers, or layers.
Entities without a RenderLayerComponent are treated as members of defaultLayer.