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