diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-08-06 21:01:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-06 21:01:51 +0200 |
commit | 21f6916ffc52d83ac57b4f412f3eb8d6b40afebe (patch) | |
tree | 6ac59501eb02ada0a64b4e8ab24d4e94b3db7ce6 /doc | |
parent | dd063d1725eb664917cca2f047c0ac75dab93a4e (diff) | |
parent | 21b9b117bea202891aafddbd3825f35a10dbdc51 (diff) |
Merge pull request #60843 from hoontee/CSG3
Add `TorusMesh`
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/TorusMesh.xml | 25 |
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> |