Sky

The base class for PanoramaSky and ProceduralSky.

Members

Aliases

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

Enums

Constants
enum Constants
RadianceSize
enum RadianceSize

Functions

getRadianceSize
Sky.RadianceSize getRadianceSize()
opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(Sky other)
opEquals
bool opEquals(typeof(null) n)
setRadianceSize
void setRadianceSize(long size)
toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

radianceSize
Sky.RadianceSize radianceSize [@property getter]
long radianceSize [@property setter]

The Sky's radiance map size. The higher the radiance map size, the more detailed the lighting from the Sky will be. See radiancesize constants for values. Note: You will only benefit from high radiance sizes if you have perfectly sharp reflective surfaces in your project and are not using ReflectionProbes or GIProbes. For most projects, keeping radianceSize to the default value is the best compromise between visuals and performance. Be careful when using high radiance size values as these can cause crashes on low-end GPUs.

Static functions

_new
Sky _new()

Construct a new instance of Sky. Note: use memnew!Sky instead.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

GDNativeClassBinding
struct GDNativeClassBinding
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
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(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