Preparing search index...
The search index is not available
Source Academy Modules
Source Academy Modules
csg
torus
Function torus
torus
(
hex
)
:
Shape
Returns a torus (donut) Shape in the specified color.
Inner radius: 0.15 (ring is 0.3 thick)
Total radius: 0.5 (from the centre of the hole to "outside")
Center: Floating at (0.5, 0.5, 0.5)
Parameters
hex
:
string
hex color code
Returns
Shape
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Source Academy Modules
Loading...
Returns a torus (donut) Shape in the specified color.