On this page
QuadMesh
Inherits: PrimitiveMesh < Mesh < Resource < Reference < Object
Class representing a square mesh.
Description
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.
Tutorials
Properties
|
||
|
Property Descriptions
Vector3 center_offset
Default |
|
Setter |
set_center_offset(value) |
Getter |
get_center_offset() |
Offset of the generated Quad. Useful for particles.
Vector2 size
Default |
|
Setter |
set_size(value) |
Getter |
get_size() |
Size on the X and Y axes.
© 2014–2022 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.4/classes/class_quadmesh.html