PlaneMesh

Class representing a planar PrimitiveMesh.

This flat mesh does not have a thickness. By default, this mesh is aligned on the X and Z axes; this default rotation isn't suited for use with billboarded materials. For billboarded materials, use QuadMesh instead. Note: When using a large textured PlaneMesh (e.g. as a floor), you may stumble upon UV jittering issues depending on the camera angle. To solve this, increase subdivideDepth and subdivideWidth until you no longer notice UV jittering.

Members

Aliases

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

Functions

getSize
Vector2 getSize()
getSubdivideDepth
long getSubdivideDepth()
getSubdivideWidth
long getSubdivideWidth()
opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(PlaneMesh other)
opEquals
bool opEquals(typeof(null) n)
setSize
void setSize(Vector2 size)
setSubdivideDepth
void setSubdivideDepth(long subdivide)
setSubdivideWidth
void setSubdivideWidth(long subdivide)
toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

size
Vector2 size [@property getter]
Vector2 size [@property setter]

Size of the generated plane.

subdivideDepth
long subdivideDepth [@property getter]
long subdivideDepth [@property setter]

Number of subdivision along the Z axis.

subdivideWidth
long subdivideWidth [@property getter]
long subdivideWidth [@property setter]

Number of subdivision along the X axis.

Static functions

_new
PlaneMesh _new()

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