PointLightComponent constructor

PointLightComponent(
  1. PointLight light
)

Creates a component that lights the scene with light.

Implementation

PointLightComponent(this.light);