DirectionalLightComponent constructor

DirectionalLightComponent(
  1. DirectionalLight light
)

Creates a component that lights the scene with light.

Implementation

DirectionalLightComponent(this.light);