Contents

init(layers:)

Creates a spot 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.

See Also

Creating a shadow