summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/TorusMesh.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/classes/TorusMesh.xml b/doc/classes/TorusMesh.xml
new file mode 100644
index 0000000000..6b83152793
--- /dev/null
+++ b/doc/classes/TorusMesh.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<class name="TorusMesh" inherits="PrimitiveMesh" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
+ <brief_description>
+ Class representing a torus [PrimitiveMesh].
+ </brief_description>
+ <description>
+ Class representing a torus [PrimitiveMesh].
+ </description>
+ <tutorials>
+ </tutorials>
+ <members>
+ <member name="inner_radius" type="float" setter="set_inner_radius" getter="get_inner_radius" default="0.5">
+ The inner radius of the torus.
+ </member>
+ <member name="outer_radius" type="float" setter="set_outer_radius" getter="get_outer_radius" default="1.0">
+ The outer radius of the torus.
+ </member>
+ <member name="ring_segments" type="int" setter="set_ring_segments" getter="get_ring_segments" default="32">
+ The number of edges each ring of the torus is constructed of.
+ </member>
+ <member name="rings" type="int" setter="set_rings" getter="get_rings" default="64">
+ The number of slices the torus is constructed of.
+ </member>
+ </members>
+</class>