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

繼承: PlaneMesh < PrimitiveMesh < Mesh < Resource < RefCounted < Object

表示面向相機的正方形網格的類。

說明

代表正方形 PrimitiveMesh 的類。這個平面網格沒有厚度。預設情況下,這個網格與 X 軸和 Y 軸對齊;這種旋轉方式更適合於使用公告板的材質。QuadMeshPlaneMesh 是等價的,區別是 PlaneMesh.orientation 預設為 PlaneMesh.FACE_Z

教學

屬性

Orientation

orientation

2 (overrides PlaneMesh)

Vector2

size

Vector2(1, 1) (overrides PlaneMesh)