DayNightCycleComponent constructor

DayNightCycleComponent({
  1. double timeOfDay = 12.0,
  2. double timeSpeed = 0.0,
  3. double latitude = 34.0,
  4. Node? sunLightNode,
  5. PhysicalSkySource? skySource,
  6. Scene? targetScene,
  7. bool applyLightingToTarget = true,
  8. bool shadowOnly = false,
})

Implementation

DayNightCycleComponent({
  this.timeOfDay = 12.0,
  this.timeSpeed = 0.0,
  this.latitude = 34.0,
  this.sunLightNode,
  this.skySource,
  this.targetScene,
  this.applyLightingToTarget = true,
  this.shadowOnly = false,
});