SphereGeometry

external class SphereGeometry(options: SphereGeometry.ConstructorOptions? = definedExternally)(source)

A description of a sphere centered at the origin.

const sphere = new SphereGeometry({
radius : 100.0,
vertexFormat : VertexFormat.POSITION_ONLY
});
const geometry = SphereGeometry.createGeometry(sphere);

See also

Constructors

Link copied to clipboard
constructor(options: SphereGeometry.ConstructorOptions? = definedExternally)

Types

Link copied to clipboard
Link copied to clipboard
sealed interface ConstructorOptions