Class representing a planar PrimitiveMesh.
    public class PlaneMesh : PrimitiveMesh

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.

Inheritance Chain

Constructors

    public PlaneMesh()

Properties

    public Vector2 Size { get; set; }

Size of the generated plane.

    public int SubdivideDepth { get; set; }

Number of subdivision along the Z axis.

    public int SubdivideWidth { get; set; }

Number of subdivision along the X axis.

Methods

    [Obsolete("GetSize is deprecated. Use the Size property instead.")]
    public Vector2 GetSize()

Getter for Size

    [Obsolete("GetSubdivideDepth is deprecated. Use the SubdivideDepth property instead.")]
    public int GetSubdivideDepth()

Getter for SubdivideDepth

    [Obsolete("GetSubdivideWidth is deprecated. Use the SubdivideWidth property instead.")]
    public int GetSubdivideWidth()

Getter for SubdivideWidth

    [Obsolete("SetSize is deprecated. Use the Size property instead.")]
    public void SetSize(Vector2 size)

Setter for Size

    [Obsolete("SetSubdivideDepth is deprecated. Use the SubdivideDepth property instead.")]
    public void SetSubdivideDepth(int subdivide)

Setter for SubdivideDepth

    [Obsolete("SetSubdivideWidth is deprecated. Use the SubdivideWidth property instead.")]
    public void SetSubdivideWidth(int subdivide)

Setter for SubdivideWidth

Tags: