Class representing a square mesh.
    public class QuadMesh : PrimitiveMesh

Class representing a square PrimitiveMesh. This flat mesh does not have a thickness. By default, this mesh is aligned on the X and Y axes; this default rotation is more suited for use with billboarded materials. Unlike PlaneMesh, this mesh doesn’t provide subdivision options.

Inheritance Chain

Constructors

    public QuadMesh()

Properties

    public Vector2 Size { get; set; }

Size on the X and Y axes.

Methods

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

Getter for Size

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

Setter for Size

Tags: