Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

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)