Inherits: PrimitiveMesh < Mesh < Resource < Reference < Object

Category: Core

Brief Description

Class representing a square mesh.


Vector2 size


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.

Property Descriptions

Setter set_size(value)
Getter get_size()

Size in the X and Y axes. Default is Vector2(1, 1).