Work in progress
Godot documentation is being updated to reflect the latest changes in version
4.0
. Some documentation pages may
still state outdated information. This banner will tell you if you're reading one of such pages.
The contents of this page are up to date. If you can still find outdated information, please open an issue.
TorusMesh¶
Inherits: PrimitiveMesh < Mesh < Resource < RefCounted < Object
Class representing a torus PrimitiveMesh.
Description¶
Class representing a torus PrimitiveMesh.
Properties¶
|
||
|
||
|
||
|
Property Descriptions¶
float inner_radius = 0.5
The inner radius of the torus.
float outer_radius = 1.0
The outer radius of the torus.
int ring_segments = 32
The number of edges each ring of the torus is constructed of.
int rings = 64
The number of slices the torus is constructed of.