VglLight
Abstract mixin component for lights, corresponding THREE.Light.
Properties of VglObject3d are also available as mixin.
props
-
color
color (optional)default: '#fff'
CSS style color of the light.
-
intensity
float (optional)default: 1
Numeric value of the light’s strength/intensity.
computed properties
-
inst
The THREE.Light instance.