Skip to content

Documentation / @ripl/vue-3d / RiplDirectionalLightProps

Interface: RiplDirectionalLightProps ​

Defined in: vue-3d/src/types.ts:137

Props accepted by RiplDirectionalLight.

Extends ​

Extended by ​

Properties ​

PropertyTypeDescriptionInherited fromDefined in
color?stringThe light's colour. Defaults to #ffffff.RiplLightProps.colorvue-3d/src/types.ts:123
direction?Vector3The direction the light travels in.-vue-3d/src/types.ts:139
enabled?booleanWhether the light contributes at all. Defaults to true.RiplLightProps.enabledvue-3d/src/types.ts:127
intensity?numberHow strongly the light contributes. Defaults to 1.RiplLightProps.intensityvue-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