Skip to content

Documentation / @ripl/3d / createSphere

Function: createSphere()

createSphere(...options): Sphere

Defined in: 3d/src/elements/sphere.ts:112

Factory function that creates a new Sphere instance.

Parameters

ParameterType
...options[Partial<Omit<ElementOptions<SphereState>, "zIndex">>]

Returns

Sphere