Structure

SpotLightComponent.Shadow

Characteristics of a shadow for the spotlight.

Declaration

struct SpotLightComponent.Shadow

Topics

Creating a Shadow

init()

Creates a new spot light shadow.

Registering a Component Type

static func registerComponent()

Registers a new component type.

Relationships

Conforms To

See Also

Configuring the Spotlight

var intensity: Float

The intensity of the spotlight measured in lumen.

var innerAngleInDegrees: Float

The inner angle of the spotlight in degrees.

var outerAngleInDegrees: Float

The outer angle of the spotlight in degrees.

var attenuationRadius: Float

The attenuation radius in meters, after which the intensity of the spotlight is zero.