DirectionalLight constructor

DirectionalLight({
  1. required String id,
  2. bool? castShadows,
  3. int? color,
  4. TransitionOptions? colorTransition,
  5. List<double?>? direction,
  6. TransitionOptions? directionTransition,
  7. double? intensity,
  8. TransitionOptions? intensityTransition,
  9. double? shadowIntensity,
  10. TransitionOptions? shadowIntensityTransition,
  11. String? shadowDrawBeforeLayer,
})

Implementation

DirectionalLight({
  required this.id,
  this.castShadows,
  this.color,
  this.colorTransition,
  this.direction,
  this.directionTransition,
  this.intensity,
  this.intensityTransition,
  this.shadowIntensity,
  this.shadowIntensityTransition,
  this.shadowDrawBeforeLayer,
});