Skip to content

Documentation / @ripl/vue-3d / RiplPointLightProps

Interface: RiplPointLightProps ​

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

Props accepted by RiplPointLight.

Extends ​

Extended by ​

Properties ​

PropertyTypeDescriptionInherited fromDefined in
color?stringThe light's colour. Defaults to #ffffff.RiplLightProps.colorvue-3d/src/types.ts:123
decay?numberThe exponent of the inverse-distance falloff. Defaults to 2.-vue-3d/src/types.ts:151
distance?numberThe distance at which the light falls to zero. 0 means it never does. Defaults to 0.-vue-3d/src/types.ts:149
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
position?Vector3The light's world-space position. Defaults to the origin.-vue-3d/src/types.ts:147