W3cubDocs

/Godot 3.1

SpotLight

Inherits: Light < VisualInstance < Spatial < Node < Object

Category: Core

Brief Description

Spotlight Light, such as a reflector spotlight or a lantern.

Properties

float spot_angle
float spot_angle_attenuation
float spot_attenuation
float spot_range

Description

A SpotLight light 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 and this attenuation can be configured by changing the energy, radius and attenuation parameters of Light.

Tutorials

Property Descriptions

float spot_angle

Setter set_param(value)
Getter get_param()

float spot_angle_attenuation

Setter set_param(value)
Getter get_param()

float spot_attenuation

Setter set_param(value)
Getter get_param()

float spot_range

Setter set_param(value)
Getter get_param()

© 2014–2019 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.1/classes/class_spotlight.html