Documentation / @ripl/vue-3d / RiplPointLightProps
Interface: RiplPointLightProps ​
Defined in: vue-3d/src/types.ts:145
Props accepted by RiplPointLight.
Extends ​
Extended by ​
Properties ​
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
color? | string | The light's colour. Defaults to #ffffff. | RiplLightProps.color | vue-3d/src/types.ts:123 |
decay? | number | The exponent of the inverse-distance falloff. Defaults to 2. | - | vue-3d/src/types.ts:151 |
distance? | number | The distance at which the light falls to zero. 0 means it never does. Defaults to 0. | - | vue-3d/src/types.ts:149 |
enabled? | boolean | Whether the light contributes at all. Defaults to true. | RiplLightProps.enabled | vue-3d/src/types.ts:127 |
intensity? | number | How strongly the light contributes. Defaults to 1. | RiplLightProps.intensity | vue-3d/src/types.ts:125 |
position? | Vector3 | The light's world-space position. Defaults to the origin. | - | vue-3d/src/types.ts:147 |