From 861c5bff0e9372605240cabe58bc1a23efdfc91b Mon Sep 17 00:00:00 2001 From: clayjohn Date: Tue, 23 Aug 2022 15:15:40 -0600 Subject: Remove QuadMesh and add orientation parameter to PlaneMesh --- doc/classes/PlaneMesh.xml | 16 +++++++++++++++- doc/classes/PrimitiveMesh.xml | 2 +- doc/classes/QuadMesh.xml | 21 --------------------- 3 files changed, 16 insertions(+), 23 deletions(-) delete mode 100644 doc/classes/QuadMesh.xml (limited to 'doc') diff --git a/doc/classes/PlaneMesh.xml b/doc/classes/PlaneMesh.xml index 6b3a7ed548..564b6fe743 100644 --- a/doc/classes/PlaneMesh.xml +++ b/doc/classes/PlaneMesh.xml @@ -4,7 +4,7 @@ Class representing a planar [PrimitiveMesh]. - Class representing a planar [PrimitiveMesh]. This flat mesh does not have a thickness. By default, this mesh is aligned on the X and Z axes; this default rotation isn't suited for use with billboarded materials. For billboarded materials, use [QuadMesh] instead. + Class representing a planar [PrimitiveMesh]. This flat mesh does not have a thickness. By default, this mesh is aligned on the X and Z axes; this default rotation isn't suited for use with billboarded materials. For billboarded materials, change [member orientation] to [constant FACE_Z]. [b]Note:[/b] When using a large textured [PlaneMesh] (e.g. as a floor), you may stumble upon UV jittering issues depending on the camera angle. To solve this, increase [member subdivide_depth] and [member subdivide_width] until you no longer notice UV jittering. @@ -13,6 +13,9 @@ Offset of the generated plane. Useful for particles. + + Direction that the [PlaneMesh] is facing. See [enum Orientation] for options. + Size of the generated plane. @@ -23,4 +26,15 @@ Number of subdivision along the X axis. + + + [PlaneMesh] will face the positive X-axis. + + + [PlaneMesh] will face the positive Y-axis. This matches the behaviour of the [PlaneMesh] in Godot 3.x. + + + [PlaneMesh] will face the positive Z-axis. This matches the behvaiour of the QuadMesh in Godot 3.x. + + diff --git a/doc/classes/PrimitiveMesh.xml b/doc/classes/PrimitiveMesh.xml index 7046a21f68..1b9ecdbfa0 100644 --- a/doc/classes/PrimitiveMesh.xml +++ b/doc/classes/PrimitiveMesh.xml @@ -4,7 +4,7 @@ Base class for all primitive meshes. Handles applying a [Material] to a primitive mesh. - Base class for all primitive meshes. Handles applying a [Material] to a primitive mesh. Examples include [BoxMesh], [CapsuleMesh], [CylinderMesh], [PlaneMesh], [PrismMesh], [QuadMesh], and [SphereMesh]. + Base class for all primitive meshes. Handles applying a [Material] to a primitive mesh. Examples include [BoxMesh], [CapsuleMesh], [CylinderMesh], [PlaneMesh], [PrismMesh], and [SphereMesh]. diff --git a/doc/classes/QuadMesh.xml b/doc/classes/QuadMesh.xml deleted file mode 100644 index d641ebaa1f..0000000000 --- a/doc/classes/QuadMesh.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - Class representing a square mesh. - - - 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 default rotation is more suited for use with billboarded materials. Unlike [PlaneMesh], this mesh doesn't provide subdivision options. - - - https://godotengine.org/asset-library/asset/127 - https://godotengine.org/asset-library/asset/129 - - - - Offset of the generated Quad. Useful for particles. - - - Size on the X and Y axes. - - - -- cgit v1.2.3