DirectionalLight constructor
DirectionalLight({ - required String id,
- bool? castShadows,
- int? color,
- TransitionOptions? colorTransition,
- List<double?>? direction,
- TransitionOptions? directionTransition,
- double? intensity,
- TransitionOptions? intensityTransition,
- double? shadowIntensity,
- TransitionOptions? shadowIntensityTransition,
- 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,
});