Struct CSGTorus

A CSG Torus shape.

struct CSGTorus ;

This node allows you to create a torus for use with the CSG system.

Properties

NameTypeDescription
innerRadius[get, set] doubleThe inner radius of the torus.
outerRadius[get, set] doubleThe outer radius of the torus.
ringSides[get, set] longThe number of edges each ring of the torus is constructed of.
sides[get, set] longThe number of slices the torus is constructed of.
smoothFaces[get, set] boolIf 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

NameDescription
getInnerRadius
getMaterial
getOuterRadius
getRingSides
getSides
getSmoothFaces
setInnerRadius
setMaterial
setOuterRadius
setRingSides
setSides
setSmoothFaces