ReflectionProbeComponent constructor

ReflectionProbeComponent({
  1. Vector3? extents,
  2. double blendDistance = 1.0,
  3. double priority = 10.0,
  4. double weight = 1.0,
  5. int faceResolution = 128,
  6. bool captureOnActivate = true,
})

Creates a reflection probe over a box of half-size extents.

Implementation

ReflectionProbeComponent({
  Vector3? extents,
  this.blendDistance = 1.0,
  this.priority = 10.0,
  this.weight = 1.0,
  this.faceResolution = 128,
  this.captureOnActivate = true,
}) : extents = extents ?? Vector3.all(5.0);