Link Search Menu Expand Document

You are browsing the documentation for v0.x.
Visit here for the newest version.

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.