OmniLight

Omnidirectional light, such as a light bulb or a candle.

An Omnidirectional light is a type of Light that emits light in all directions. The light is attenuated by distance and this attenuation can be configured by changing its energy, radius, and attenuation parameters.

Members

Aliases

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

Enums

Constants
enum Constants
ShadowDetail
enum ShadowDetail
ShadowMode
enum ShadowMode

Functions

getShadowDetail
OmniLight.ShadowDetail getShadowDetail()
getShadowMode
OmniLight.ShadowMode getShadowMode()
opAssign
OmniLight opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(OmniLight 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.
setShadowDetail
void setShadowDetail(long detail)
setShadowMode
void setShadowMode(long mode)

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

omniAttenuation
double omniAttenuation [@property getter]
double omniAttenuation [@property setter]

The light's attenuation (drop-off) curve. A number of presets are available in the Inspector.

omniRange
double omniRange [@property getter]
double omniRange [@property setter]

Maximum distance the light affects.

omniShadowDetail
long omniShadowDetail [@property setter]

See shadowdetail.

omniShadowDetail
OmniLight.ShadowDetail omniShadowDetail [@property getter]

See shadowdetail.

omniShadowMode
OmniLight.ShadowMode omniShadowMode [@property getter]
long omniShadowMode [@property setter]

See shadowmode.

Static functions

_new
OmniLight _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