Skip to content

Documentation / @ripl/3d / createShape3D

Function: createShape3D()

createShape3D(...options): Shape3D<Shape3DState>

Defined in: 3d/src/core/shape.ts:445

Factory function that creates a new Shape3D instance.

Parameters

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

Returns

Shape3D<Shape3DState>