Interface SolidOfRevolutionOptions

Optional arguments for solids of revolution, with offsets.

Hierarchy

Properties

hints?: HintMap

How many sub-divisions should there be around the radial axis?

maxSmoothAngle?: number

The maximum angle for hard normals to be turned into smooth normals.

offset?: vec2

The offset of the slice in a solid of revolution, in 2D space.

segments?: number

The number of segments around the axis of revolution in a solid of revolution.

segmentsUVs?: [startV: null | number, endV: null | number, segmentsUs: null | number[]]

The UV values for each slice in the solid of revolution, in the same format as extrusions.

smoothNormals?: boolean

Should smooth normals be added?

Generated using TypeDoc