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? ​
optionalscale?:number
A uniform scale, applied to all three axes. Overridden by any per-axis scale also given.
Type Parameters ​
| Type Parameter | Default type |
|---|---|
TState extends Shape3DState | Shape3DState |