Welcome to the Godot Reference Fork and the Godot Proposals Fork alternatives. Why?

SpotLight

0 0 vote
Article Rating

Inherits: Light < VisualInstance < Spatial < Node < Object

A spotlight, such as a reflector spotlight or a lantern.

Description

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.

Property Descriptions

Default45.0
Setterset_param(value)
Getterget_param()

The spotlight’s angle in degrees.


  • float spot_angle_attenuation
Default1.0
Setterset_param(value)
Getterget_param()

The spotlight’s angular attenuation curve.


Default1.0
Setterset_param(value)
Getterget_param()

The spotlight’s light energy attenuation curve.


Default5.0
Setterset_param(value)
Getterget_param()

The maximal range that can be reached by the spotlight.

Doc ID missing

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 1970-01-01 at 00:00:00. It’s the English Stable version because it’s what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.

Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x