DirectionalLight2D¶
Inherits: Light2D < Node2D < CanvasItem < Node < Object
Properties¶
|
||
|
Property Descriptions¶
float height
Default |
|
Setter |
set_height(value) |
Getter |
get_height() |
The height of the light. Used with 2D normal mapping. Ranges from 0 (parallel to the plane) to 1 (perpendicular to the plane).
float max_distance
Default |
|
Setter |
set_max_distance(value) |
Getter |
get_max_distance() |