Attention: Here be dragons

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

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.

教程

属性

Orientation

orientation

2 (overrides PlaneMesh)

Vector2

size

Vector2(1, 1) (overrides PlaneMesh)