Contents

RenderLayerComponent

A component that defines which layers an entity participates in.

Declaration

struct RenderLayerComponent

Overview

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.

Topics

Creating a component

Accessing render layers

Initializers

See Also

Portals, clipping, and occlusion