Skip to content

Documentation / @ripl/3d / Shape3DOptions

Type Alias: Shape3DOptions<TState> ​

Shape3DOptions<TState> = Partial<Omit<ElementOptions<TState>, "zIndex">> & object

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

Options for constructing a 3D shape, with all state properties optional.

Type Declaration ​

scale? ​

optional scale?: number

A uniform scale, applied to all three axes. Overridden by any per-axis scale also given.

Type Parameters ​

Type ParameterDefault type
TState extends Shape3DStateShape3DState