init(layers:)
Creates a directional light shadow with the specified layers.
Declaration
init(layers: RenderLayer.Set? = nil)Parameters
- layers:
The layers from which this light accepts shadow casters. If nil, uses layers for shadow casting.
Creates a directional light shadow with the specified layers.
init(layers: RenderLayer.Set? = nil)The layers from which this light accepts shadow casters. If nil, uses layers for shadow casting.