godot/doc/classes/TorusMesh.xml
Rémi Verschelde 81064cc239
Doctool: Remove version attribute from XML header
We don't use that info for anything, and it generates unnecessary diffs
every time we bump the minor version (and CI failures if we forget to
sync some files from opt-in modules (mono, text_server_fb).
2023-07-06 10:08:21 +02:00

26 lines
1.0 KiB
XML

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