Initializer

init(color:intensity:innerAngleInDegrees:outerAngleInDegrees:attenuationRadius:)

Creates a spotlight with the given parameters.

Declaration

init(color: SpotLightComponent.Color = .white, intensity: Float = 6740.94, innerAngleInDegrees: Float = 45.0, outerAngleInDegrees: Float = 60.0, attenuationRadius: Float = 10.0)