Class representing a planar PrimitiveMesh.
    public class PlaneMesh : PrimitiveMesh

Class representing a planar PrimitiveMesh. This flat mesh does not have a thickness.

Inheritance Chain

Constructors

    public PlaneMesh()

Properties

    public Vector2 Size { get; set; }

Size of the generated plane. Defaults to (2.0, 2.0).

    public int SubdivideDepth { get; set; }

Number of subdivision along the z-axis. Defaults to 0.

    public int SubdivideWidth { get; set; }

Number of subdivision along the x-axis. Defaults to 0.

Methods

    public Vector2 GetSize()

Getter for Size

    public int GetSubdivideDepth()

Getter for SubdivideDepth

    public int GetSubdivideWidth()

Getter for SubdivideWidth

    public void SetSize(Vector2 size)

Setter for Size

    public void SetSubdivideDepth(int subdivide)

Setter for SubdivideDepth

    public void SetSubdivideWidth(int subdivide)

Setter for SubdivideWidth

Tags: