Documentation / @ripl/vue-3d / Ripl3DElementProps
Type Alias: Ripl3DElementProps<TState> ​
Ripl3DElementProps<
TState> =Partial<TState> &RiplElementOptionProps&RiplShapeProps&RiplElementListeners&object
Defined in: vue-3d/src/types.ts:65
The full prop surface of a 3D shape component: the shape's own state, the shared construction options and paint flags, and its event listeners.
Type Declaration ​
material? ​
optionalmaterial?:Material
How the surface responds to light. When omitted, the shape shades from its fill alone.
scale? ​
optionalscale?:number
A uniform scale applied to all three axes. Overridden by any per-axis scale also given.
Type Parameters ​
| Type Parameter | Description |
|---|---|
TState extends Ripl3DBaseState | The shape's state interface, e.g. CubeState. |