Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

ShapeBuilder

ShapeBuilder<Record, Shape> = (record) => BuiltShape<Shape["type"]>

A builder defineShapeBuilder registered: called with a record, the collider shape built from it.

Type Parameter Default type
Record extends ShapeRecord -
Shape extends BuildableShape BuildableShape
Parameter Type
record Record

BuiltShape<Shape["type"]>