Struct PlaneMesh
Class representing a planar PrimitiveMesh.
struct PlaneMesh
;
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.
Properties
| Name | Type | Description |
|---|---|---|
size[get, set]
|
Vector2 | Size of the generated plane. |
subdivideDepth[get, set]
|
long | Number of subdivision along the Z axis. |
subdivideWidth[get, set]
|
long | Number of subdivision along the X axis. |
Methods
| Name | Description |
|---|---|
getSize
|
|
getSubdivideDepth
|
|
getSubdivideWidth
|
|
setSize
|
|
setSubdivideDepth
|
|
setSubdivideWidth
|