SphereMesh.xml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="SphereMesh" inherits="PrimitiveMesh" category="Core" version="3.0.alpha.custom_build">
  3. <brief_description>
  4. Class representing a spherical [PrimitiveMesh].
  5. </brief_description>
  6. <description>
  7. Class representing a spherical [PrimitiveMesh].
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <demos>
  12. </demos>
  13. <methods>
  14. <method name="get_height" qualifiers="const">
  15. <return type="float">
  16. </return>
  17. <description>
  18. </description>
  19. </method>
  20. <method name="get_is_hemisphere" qualifiers="const">
  21. <return type="bool">
  22. </return>
  23. <description>
  24. </description>
  25. </method>
  26. <method name="get_radial_segments" qualifiers="const">
  27. <return type="int">
  28. </return>
  29. <description>
  30. </description>
  31. </method>
  32. <method name="get_radius" qualifiers="const">
  33. <return type="float">
  34. </return>
  35. <description>
  36. </description>
  37. </method>
  38. <method name="get_rings" qualifiers="const">
  39. <return type="int">
  40. </return>
  41. <description>
  42. </description>
  43. </method>
  44. <method name="set_height">
  45. <return type="void">
  46. </return>
  47. <argument index="0" name="height" type="float">
  48. </argument>
  49. <description>
  50. </description>
  51. </method>
  52. <method name="set_is_hemisphere">
  53. <return type="void">
  54. </return>
  55. <argument index="0" name="is_hemisphere" type="bool">
  56. </argument>
  57. <description>
  58. </description>
  59. </method>
  60. <method name="set_radial_segments">
  61. <return type="void">
  62. </return>
  63. <argument index="0" name="radial_segments" type="int">
  64. </argument>
  65. <description>
  66. </description>
  67. </method>
  68. <method name="set_radius">
  69. <return type="void">
  70. </return>
  71. <argument index="0" name="radius" type="float">
  72. </argument>
  73. <description>
  74. </description>
  75. </method>
  76. <method name="set_rings">
  77. <return type="void">
  78. </return>
  79. <argument index="0" name="rings" type="int">
  80. </argument>
  81. <description>
  82. </description>
  83. </method>
  84. </methods>
  85. <members>
  86. <member name="height" type="float" setter="set_height" getter="get_height">
  87. Full height of the sphere. Defaults to 2.0.
  88. </member>
  89. <member name="is_hemisphere" type="bool" setter="set_is_hemisphere" getter="get_is_hemisphere">
  90. Determines whether a full sphere or a hemisphere is created. Attention: To get a regular hemisphere the height and radius of the sphere have to equal. Defaults to false.
  91. </member>
  92. <member name="radial_segments" type="int" setter="set_radial_segments" getter="get_radial_segments">
  93. Number of radial segments on the sphere. Defaults to 64.
  94. </member>
  95. <member name="radius" type="float" setter="set_radius" getter="get_radius">
  96. Radius of sphere. Defaults to 1.0.
  97. </member>
  98. <member name="rings" type="int" setter="set_rings" getter="get_rings">
  99. Number of segments along the height of the sphere. Defaults to 32.
  100. </member>
  101. </members>
  102. <constants>
  103. </constants>
  104. </class>