blob: 6b83152793261c9eb1601186dfff8483703cae19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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>
|