A spotlight, such as a reflector spotlight or a lantern.
    public class SpotLight : Light

A Spotlight is a type of Light node that emits lights in a specific direction, in the shape of a cone. The light is attenuated through the distance. This attenuation can be configured by changing the energy, radius and attenuation parameters of Light.

Inheritance Chain


    public SpotLight()


    public float SpotAngle { get; set; }

The spotlight’s angle in degrees.

    public float SpotAngleAttenuation { get; set; }

The spotlight’s angular attenuation curve.

    public float SpotAttenuation { get; set; }

The spotlight’s light energy attenuation curve.

    public float SpotRange { get; set; }

The maximal range that can be reached by the spotlight.