PrismMesh.xml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="PrismMesh" inherits="PrimitiveMesh" category="Core" version="3.0.alpha.custom_build">
  3. <brief_description>
  4. Class representing a prism-shaped [PrimitiveMesh].
  5. </brief_description>
  6. <description>
  7. Class representing a prism-shaped [PrimitiveMesh].
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <demos>
  12. </demos>
  13. <methods>
  14. <method name="get_left_to_right" qualifiers="const">
  15. <return type="float">
  16. </return>
  17. <description>
  18. </description>
  19. </method>
  20. <method name="get_size" qualifiers="const">
  21. <return type="Vector3">
  22. </return>
  23. <description>
  24. </description>
  25. </method>
  26. <method name="get_subdivide_depth" qualifiers="const">
  27. <return type="int">
  28. </return>
  29. <description>
  30. </description>
  31. </method>
  32. <method name="get_subdivide_height" qualifiers="const">
  33. <return type="int">
  34. </return>
  35. <description>
  36. </description>
  37. </method>
  38. <method name="get_subdivide_width" qualifiers="const">
  39. <return type="int">
  40. </return>
  41. <description>
  42. </description>
  43. </method>
  44. <method name="set_left_to_right">
  45. <return type="void">
  46. </return>
  47. <argument index="0" name="left_to_right" type="float">
  48. </argument>
  49. <description>
  50. </description>
  51. </method>
  52. <method name="set_size">
  53. <return type="void">
  54. </return>
  55. <argument index="0" name="size" type="Vector3">
  56. </argument>
  57. <description>
  58. </description>
  59. </method>
  60. <method name="set_subdivide_depth">
  61. <return type="void">
  62. </return>
  63. <argument index="0" name="segments" type="int">
  64. </argument>
  65. <description>
  66. </description>
  67. </method>
  68. <method name="set_subdivide_height">
  69. <return type="void">
  70. </return>
  71. <argument index="0" name="segments" type="int">
  72. </argument>
  73. <description>
  74. </description>
  75. </method>
  76. <method name="set_subdivide_width">
  77. <return type="void">
  78. </return>
  79. <argument index="0" name="segments" type="int">
  80. </argument>
  81. <description>
  82. </description>
  83. </method>
  84. </methods>
  85. <members>
  86. <member name="left_to_right" type="float" setter="set_left_to_right" getter="get_left_to_right">
  87. Displacement of of the upper edge along the x-axis. 0.0 positions edge straight above the bottome left edge. Defaults to 0.5 (positioned on the midpoint).
  88. </member>
  89. <member name="size" type="Vector3" setter="set_size" getter="get_size">
  90. Size of the prism. Defaults to (2.0, 2.0, 2.0).
  91. </member>
  92. <member name="subdivide_depth" type="int" setter="set_subdivide_depth" getter="get_subdivide_depth">
  93. Number of added edge loops along the z-axis. Defaults to 0.
  94. </member>
  95. <member name="subdivide_height" type="int" setter="set_subdivide_height" getter="get_subdivide_height">
  96. Number of added edge loops along the y-axis. Defaults to 0.
  97. </member>
  98. <member name="subdivide_width" type="int" setter="set_subdivide_width" getter="get_subdivide_width">
  99. Number of added edge loops along the x-axis. Defaults to 0.
  100. </member>
  101. </members>
  102. <constants>
  103. </constants>
  104. </class>