PlaneShape

Infinite plane shape for 3D collisions.

An infinite plane shape for 3D collisions. Note that the Plane's normal matters; anything "below" the plane will collide with it. If the PlaneShape is used in a PhysicsBody, it will cause colliding objects placed "below" it to teleport "above" the plane.

Members

Aliases

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

Functions

getPlane
Plane getPlane()
opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(PlaneShape other)
opEquals
bool opEquals(typeof(null) n)
setPlane
void setPlane(Plane plane)
toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

plane
Plane plane [@property getter]
Plane plane [@property setter]

The Plane used by the PlaneShape for collision.

Static functions

_new
PlaneShape _new()

Construct a new instance of PlaneShape. Note: use memnew!PlaneShape 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