0.2.0-dev Download ZIP
17 lines ·1.2 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="QuadMesh" inherits="PlaneMesh" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> |
| 3 | <brief_description> |
| 4 | Class representing a square mesh facing the camera. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | 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 [member PlaneMesh.orientation] is [constant PlaneMesh.FACE_Z]. |
| 8 | </description> |
| 9 | <tutorials> |
| 10 | <link title="GUI in 3D Viewport Demo">https://godotengine.org/asset-library/asset/2807</link> |
| 11 | <link title="2D in 3D Viewport Demo">https://godotengine.org/asset-library/asset/2803</link> |
| 12 | </tutorials> |
| 13 | <members> |
| 14 | <member name="orientation" type="int" setter="set_orientation" getter="get_orientation" overrides="PlaneMesh" enum="PlaneMesh.Orientation" default="2" /> |
| 15 | <member name="size" type="Vector2" setter="set_size" getter="get_size" overrides="PlaneMesh" default="Vector2(1, 1)" /> |
| 16 | </members> |
| 17 | </class> |