CubeMesh.xml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="CubeMesh" inherits="PrimitiveMesh" category="Core" version="3.0.alpha.custom_build">
  3. <brief_description>
  4. Generate an axis-aligned cuboid [PrimitiveMesh].
  5. </brief_description>
  6. <description>
  7. Generate an axis-aligned cuboid [PrimitiveMesh].
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <demos>
  12. </demos>
  13. <methods>
  14. <method name="get_size" qualifiers="const">
  15. <return type="Vector3">
  16. </return>
  17. <description>
  18. </description>
  19. </method>
  20. <method name="get_subdivide_depth" qualifiers="const">
  21. <return type="int">
  22. </return>
  23. <description>
  24. </description>
  25. </method>
  26. <method name="get_subdivide_height" qualifiers="const">
  27. <return type="int">
  28. </return>
  29. <description>
  30. </description>
  31. </method>
  32. <method name="get_subdivide_width" qualifiers="const">
  33. <return type="int">
  34. </return>
  35. <description>
  36. </description>
  37. </method>
  38. <method name="set_size">
  39. <return type="void">
  40. </return>
  41. <argument index="0" name="size" type="Vector3">
  42. </argument>
  43. <description>
  44. </description>
  45. </method>
  46. <method name="set_subdivide_depth">
  47. <return type="void">
  48. </return>
  49. <argument index="0" name="divisions" type="int">
  50. </argument>
  51. <description>
  52. </description>
  53. </method>
  54. <method name="set_subdivide_height">
  55. <return type="void">
  56. </return>
  57. <argument index="0" name="divisions" type="int">
  58. </argument>
  59. <description>
  60. </description>
  61. </method>
  62. <method name="set_subdivide_width">
  63. <return type="void">
  64. </return>
  65. <argument index="0" name="subdivide" type="int">
  66. </argument>
  67. <description>
  68. </description>
  69. </method>
  70. </methods>
  71. <members>
  72. <member name="size" type="Vector3" setter="set_size" getter="get_size">
  73. Size of the cuboid mesh. Defaults to (2, 2, 2).
  74. </member>
  75. <member name="subdivide_depth" type="int" setter="set_subdivide_depth" getter="get_subdivide_depth">
  76. Number of extra edge loops inserted along the z-axis. Defaults to 0.
  77. </member>
  78. <member name="subdivide_height" type="int" setter="set_subdivide_height" getter="get_subdivide_height">
  79. Number of extra edge loops inserted along the y-axis. Defaults to 0.
  80. </member>
  81. <member name="subdivide_width" type="int" setter="set_subdivide_width" getter="get_subdivide_width">
  82. Number of extra edge loops inserted along the x-axis. Defaults to 0.
  83. </member>
  84. </members>
  85. <constants>
  86. </constants>
  87. </class>