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)

Previous Next


© 版权所有 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision b1c660f7.

Built with Sphinx using a theme provided by Read the Docs.