DVSceneLight.directional constructor

const DVSceneLight.directional({
  1. required DVVec3 direction,
  2. int color = 0xFFFFFF,
  3. double intensity = 1,
  4. bool castShadows = false,
})

Implementation

const DVSceneLight.directional({
  required DVVec3 this.direction,
  this.color = 0xFFFFFF,
  this.intensity = 1,
  this.castShadows = false,
})  : type = DVSceneLightType.directional,
      range = null,
      innerConeDegrees = null,
      outerConeDegrees = null;