GeometryInstance

Base node for geometry based visual instances.

Shares some common functionality like visibility and custom materials.

@GodotBaseClass
struct GeometryInstance {}

Members

Aliases

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

Enums

Constants
enum Constants
Flags
enum Flags
ShadowCastingSetting
enum ShadowCastingSetting

Functions

getCastShadowsSetting
GeometryInstance.ShadowCastingSetting getCastShadowsSetting()
getExtraCullMargin
double getExtraCullMargin()
getFlag
bool getFlag(long flag)
getLodMaxDistance
double getLodMaxDistance()
getLodMaxHysteresis
double getLodMaxHysteresis()
getLodMinDistance
double getLodMinDistance()
getLodMinHysteresis
double getLodMinHysteresis()
getMaterialOverride
Ref!Material getMaterialOverride()
opAssign
GeometryInstance opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(GeometryInstance 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.
setCastShadowsSetting
void setCastShadowsSetting(long shadow_casting_setting)
setExtraCullMargin
void setExtraCullMargin(double margin)
setFlag
void setFlag(long flag, bool value)
setLodMaxDistance
void setLodMaxDistance(double mode)
setLodMaxHysteresis
void setLodMaxHysteresis(double mode)
setLodMinDistance
void setLodMinDistance(double mode)
setLodMinHysteresis
void setLodMinHysteresis(double mode)
setMaterialOverride
void setMaterialOverride(Material material)

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

castShadow
GeometryInstance.ShadowCastingSetting castShadow [@property getter]
long castShadow [@property setter]

The selected shadow casting flag. See SHADOW_CASTING_SETTING_* constants for values.

extraCullMargin
double extraCullMargin [@property getter]
double extraCullMargin [@property setter]

The extra distance added to the GeometryInstance's bounding box (AABB) to increase its cull box.

lodMaxDistance
double lodMaxDistance [@property setter]

The GeometryInstance's max LOD distance.

lodMaxDistance
double lodMaxDistance [@property getter]

The GeometryInstance's max LOD distance.

lodMaxHysteresis
double lodMaxHysteresis [@property getter]
double lodMaxHysteresis [@property setter]

The GeometryInstance's max LOD margin.

lodMinDistance
double lodMinDistance [@property getter]
double lodMinDistance [@property setter]

The GeometryInstance's min LOD distance.

lodMinHysteresis
double lodMinHysteresis [@property getter]
double lodMinHysteresis [@property setter]

The GeometryInstance's min LOD margin.

useInBakedLight
bool useInBakedLight [@property getter]
bool useInBakedLight [@property setter]

If true this GeometryInstance will be used when baking lights using a GIProbe and/or any other form of baked lighting.

Static functions

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