virtualx-engine/doc/classes/TorusMesh.xml
Rémi Verschelde 1c1524a651
Bump version to 4.1-dev
Can't stop, won't stop, they said, huh?
2023-03-01 01:44:37 +01:00

25 lines
1.1 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<class name="TorusMesh" inherits="PrimitiveMesh" version="4.1" 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>