Attention: Here be dragons (unstable version)

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Redot.

QuadMesh

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

Class representing a square mesh facing the camera.

Description

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.

Tutorials

Properties

Orientation

orientation

2 (overrides PlaneMesh)

Vector2

size

Vector2(1, 1) (overrides PlaneMesh)