CapsuleMesh.xml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="CapsuleMesh" inherits="PrimitiveMesh" category="Core" version="3.0.alpha.custom_build">
  3. <brief_description>
  4. Class representing a capsule-shaped [PrimitiveMesh].
  5. </brief_description>
  6. <description>
  7. Class representing a capsule-shaped [PrimitiveMesh].
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <demos>
  12. </demos>
  13. <methods>
  14. <method name="get_mid_height" qualifiers="const">
  15. <return type="float">
  16. </return>
  17. <description>
  18. </description>
  19. </method>
  20. <method name="get_radial_segments" qualifiers="const">
  21. <return type="int">
  22. </return>
  23. <description>
  24. </description>
  25. </method>
  26. <method name="get_radius" qualifiers="const">
  27. <return type="float">
  28. </return>
  29. <description>
  30. </description>
  31. </method>
  32. <method name="get_rings" qualifiers="const">
  33. <return type="int">
  34. </return>
  35. <description>
  36. </description>
  37. </method>
  38. <method name="set_mid_height">
  39. <return type="void">
  40. </return>
  41. <argument index="0" name="mid_height" type="float">
  42. </argument>
  43. <description>
  44. </description>
  45. </method>
  46. <method name="set_radial_segments">
  47. <return type="void">
  48. </return>
  49. <argument index="0" name="segments" type="int">
  50. </argument>
  51. <description>
  52. </description>
  53. </method>
  54. <method name="set_radius">
  55. <return type="void">
  56. </return>
  57. <argument index="0" name="radius" type="float">
  58. </argument>
  59. <description>
  60. </description>
  61. </method>
  62. <method name="set_rings">
  63. <return type="void">
  64. </return>
  65. <argument index="0" name="rings" type="int">
  66. </argument>
  67. <description>
  68. </description>
  69. </method>
  70. </methods>
  71. <members>
  72. <member name="mid_height" type="float" setter="set_mid_height" getter="get_mid_height">
  73. Height of the capsule mesh from the center point. Defaults to 1.0.
  74. </member>
  75. <member name="radial_segments" type="int" setter="set_radial_segments" getter="get_radial_segments">
  76. Number of radial segments on the capsule mesh. Defaults to 64.
  77. </member>
  78. <member name="radius" type="float" setter="set_radius" getter="get_radius">
  79. Radius of the capsule mesh. Defaults to 1.0.
  80. </member>
  81. <member name="rings" type="int" setter="set_rings" getter="get_rings">
  82. Number of rings along the height of the capsule. Defaults to 8.
  83. </member>
  84. </members>
  85. <constants>
  86. </constants>
  87. </class>