LightOccluder2D

Occludes light cast by a Light2D, casting shadows.

The LightOccluder2D must be provided with an OccluderPolygon2D in order for the shadow to be computed.

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Functions

_polyChanged
void _polyChanged()
getOccluderLightMask
long getOccluderLightMask()
getOccluderPolygon
Ref!OccluderPolygon2D getOccluderPolygon()
opAssign
LightOccluder2D opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(LightOccluder2D other)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
setOccluderLightMask
void setOccluderLightMask(long mask)
setOccluderPolygon
void setOccluderPolygon(OccluderPolygon2D polygon)

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

lightMask
long lightMask [@property setter]

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

lightMask
long lightMask [@property getter]

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

occluder
OccluderPolygon2D occluder [@property getter]
OccluderPolygon2D occluder [@property setter]

The OccluderPolygon2D used to compute the shadow.

Static functions

_new
LightOccluder2D _new()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

_classBinding
struct _classBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
ToRef as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta