Documentation / @ripl/vue-3d / RiplDirectionalLightProps
Interface: RiplDirectionalLightProps ​
Defined in: vue-3d/src/types.ts:137
Props accepted by RiplDirectionalLight.
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 |
direction? | Vector3 | The direction the light travels in. | - | vue-3d/src/types.ts:139 |
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 |
space? | "world" | "camera" | Whether the direction is fixed in world space or follows the camera. Defaults to world. | - | vue-3d/src/types.ts:141 |