VisualInstance

Members

Aliases

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

Functions

_getVisualInstanceRid
RID _getVisualInstanceRid()
getAabb
AABB getAabb()

Returns the AABB (also known as the bounding box) for this VisualInstance.

getLayerMask
long getLayerMask()
getLayerMaskBit
bool getLayerMaskBit(long layer)
getTransformedAabb
AABB getTransformedAabb()

Returns the transformed AABB (also known as the bounding box) for this VisualInstance. Transformed in this case means the AABB plus the position, rotation, and scale of the Spatials Transform

opAssign
VisualInstance opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(VisualInstance 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.
setBase
void setBase(RID base)

Sets the base of the VisualInstance, which changes how the engine handles the VisualInstance under the hood. It is recommended to only use set_base if you know what you're doing.

setLayerMask
void setLayerMask(long mask)
setLayerMaskBit
void setLayerMaskBit(long layer, bool enabled)

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

layers
long layers [@property getter]
long layers [@property setter]

The render layer(s) this VisualInstance is drawn on. This object will only be visible for Cameras whose cull mask includes the render object this VisualInstance is set to.

Static functions

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