Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
TorusMesh¶
Inherits: PrimitiveMesh < Mesh < Resource < RefCounted < Object
Class representing a torus PrimitiveMesh.
描述¶
Class representing a torus PrimitiveMesh.
属性¶
|
||
|
||
|
||
|
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.