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

LightOccluder2D

0 0 vote
Article Rating

Inherits: Node2D < CanvasItem < Node < Object

Occludes light cast by a Light2D, casting shadows.

Description

Occludes light cast by a Light2D, casting shadows. The LightOccluder2D must be provided with an OccluderPolygon2D in order for the shadow to be computed.

Property Descriptions

Default1
Setterset_occluder_light_mask(value)
Getterget_occluder_light_mask()

The LightOccluder2D’s light mask. The LightOccluder2D will cast shadows only from Light2D(s) that have the same light mask(s).


Setterset_occluder_polygon(value)
Getterget_occluder_polygon()

The OccluderPolygon2D used to compute the shadow.

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