Struct CSGTorus
A CSG Torus shape.
struct CSGTorus
;
This node allows you to create a torus for use with the CSG system.
Properties
| Name | Type | Description |
|---|---|---|
innerRadius[get, set]
|
double | The inner radius of the torus. |
outerRadius[get, set]
|
double | The outer radius of the torus. |
ringSides[get, set]
|
long | The number of edges each ring of the torus is constructed of. |
sides[get, set]
|
long | The number of slices the torus is constructed of. |
smoothFaces[get, set]
|
bool | If true the normals of the torus are set to give a smooth effect making the torus seem rounded. If false the torus will have a flat shaded look.
|
Methods
| Name | Description |
|---|---|
getInnerRadius
|
|
getMaterial
|
|
getOuterRadius
|
|
getRingSides
|
|
getSides
|
|
getSmoothFaces
|
|
setInnerRadius
|
|
setMaterial
|
|
setOuterRadius
|
|
setRingSides
|
|
setSides
|
|
setSmoothFaces
|