Torus

Torus

A donut-shaped model.

Constructor

new Torus(circleSamplesopt, radialSamplesopt, tubeRadiusopt, centerRadiusopt)

Parameters:
Name Type Attributes Default Description
circleSamples number <optional>
8

Number of segments.

radialSamples number <optional>
8

Number of slices.

tubeRadius number <optional>
1

Radius of tube.

centerRadius number <optional>
2

Radius from center.

Members

viewInside :boolean

Inward-facing normals.

Methods

clone() → {Torus}

Returns a clone of this texture torus

rebuild() → {Torus}

Builds or rebuilds the mesh data.