QuadMesh.xml 1.2 KB

1234567891011121314151617181920212223242526
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="QuadMesh" inherits="PrimitiveMesh" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
  3. <brief_description>
  4. Class representing a square mesh.
  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 default rotation is more suited for use with billboarded materials. Unlike [PlaneMesh], this mesh doesn't provide subdivision options.
  8. </description>
  9. <tutorials>
  10. <link title="GUI in 3D Demo">https://godotengine.org/asset-library/asset/127</link>
  11. <link title="2D in 3D Demo">https://godotengine.org/asset-library/asset/129</link>
  12. </tutorials>
  13. <methods>
  14. </methods>
  15. <members>
  16. <member name="center_offset" type="Vector3" setter="set_center_offset" getter="get_center_offset" default="Vector3( 0, 0, 0 )">
  17. Offset of the generated Quad. Useful for particles.
  18. </member>
  19. <member name="size" type="Vector2" setter="set_size" getter="get_size" default="Vector2( 1, 1 )">
  20. Size on the X and Y axes.
  21. </member>
  22. </members>
  23. <constants>
  24. </constants>
  25. </class>