Skip to content

Documentation / @ripl/3d / createShape3D

Function: createShape3D() ​

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

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

Factory function that creates a new Shape3D instance.

Parameters ​

ParameterType
...options[string, Shape3DOptions<Shape3DState>, Partial<Omit<Shape3DOptions<Shape3DState>, "data" | "id" | "scale" | "class">>]

Returns ​

Shape3D<Shape3DState>