TorusMesh.xml 1.1 KB

123456789101112131415161718192021222324252627282930
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="TorusMesh" inherits="PrimitiveMesh" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
  3. <brief_description>
  4. Class representing a torus [PrimitiveMesh].
  5. </brief_description>
  6. <description>
  7. Class representing a torus [PrimitiveMesh].
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <methods>
  12. </methods>
  13. <members>
  14. <member name="inner_radius" type="float" setter="set_inner_radius" getter="get_inner_radius" default="0.5">
  15. The inner radius of the torus.
  16. </member>
  17. <member name="outer_radius" type="float" setter="set_outer_radius" getter="get_outer_radius" default="1.0">
  18. The outer radius of the torus.
  19. </member>
  20. <member name="ring_segments" type="int" setter="set_ring_segments" getter="get_ring_segments" default="32">
  21. The number of edges each ring of the torus is constructed of.
  22. </member>
  23. <member name="rings" type="int" setter="set_rings" getter="get_rings" default="64">
  24. The number of slices the torus is constructed of.
  25. </member>
  26. </members>
  27. <constants>
  28. </constants>
  29. </class>