ShadowCascade constructor

ShadowCascade({
  1. required Matrix4 lightSpaceMatrix,
  2. required double splitDistance,
  3. required double boxSize,
  4. Vector3? center,
  5. double radius = 0.0,
})

Creates a cascade from its lightSpaceMatrix, splitDistance, and boxSize.

Implementation

ShadowCascade({
  required this.lightSpaceMatrix,
  required this.splitDistance,
  required this.boxSize,
  this.center,
  this.radius = 0.0,
});