Up to date

This page is up to date for Redot 4.3. If you still find outdated information, please create an issue.

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)