CSGShape

The CSG base class.

This is the CSG base class that provides CSG operation support to the various CSG nodes in Godot.

Members

Aliases

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

Enums

Constants
enum Constants
Operation
enum Operation

Functions

_updateShape
void _updateShape()
getOperation
CSGShape.Operation getOperation()
getSnap
double getSnap()
isRootShape
bool isRootShape()

Returns true if this is a root shape and is thus the object that is rendered.

isUsingCollision
bool isUsingCollision()
opAssign
CSGShape opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(CSGShape 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.
setOperation
void setOperation(long operation)
setSnap
void setSnap(double snap)
setUseCollision
void setUseCollision(bool operation)

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

operation
CSGShape.Operation operation [@property getter]
long operation [@property setter]

The operation that is performed on this shape. This is ignored for the first CSG child node as the operation is between this node and the previous child of this nodes parent.

snap
double snap [@property setter]
snap
double snap [@property getter]
useCollision
bool useCollision [@property getter]
bool useCollision [@property setter]

Adds a collision shape to the physics engine for our CSG shape. This will always act like a static body. Note that the collision shape is still active even if the CSG shape itself is hidden.

Static functions

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