Skip to content

QuadMesh

Inherits: PlaneMesh < PrimitiveMesh < Mesh < Resource < RefCounted < Object

Class representing a square mesh facing the camera.

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 rotation is more suited for use with billboarded materials. A QuadMesh is equivalent to a PlaneMesh except its default PlaneMesh.orientation is PlaneMesh.FACE_Z.

Type Name Default
PlaneMesh.Orientation orientation 2 (overrides PlaneMesh)
Vector2 size Vector2(1, 1) (overrides PlaneMesh)