ShadowCatcherMaterial constructor
ShadowCatcherMaterial({})
Creates a shadow catcher. All parameters can be reassigned later.
Implementation
ShadowCatcherMaterial({
Color shadowColor = const Color(0xFF000000),
double shadowIntensity = 0.8,
double aoStrength = 0.5,
double softness = 0.0,
double fadeStart = 0.0,
double fadeEnd = 0.0,
ShadowCatcherMode mode = ShadowCatcherMode.live,
}) : _shadowColor = shadowColor,
_shadowIntensity = shadowIntensity,
_aoStrength = aoStrength,
_softness = softness,
_fadeStart = fadeStart,
_fadeEnd = fadeEnd,
_mode = mode;