EnvironmentVolumeComponent constructor
EnvironmentVolumeComponent({
- required EnvironmentSettings settings,
- EnvironmentVolumeShape shape = EnvironmentVolumeShape.box,
- Vector3? extents,
- double radius = 5.0,
- double blendDistance = 1.0,
- double priority = 0.0,
- double weight = 1.0,
Creates a volume contributing settings over the region described by
shape/extents/radius.
Implementation
EnvironmentVolumeComponent({
required this.settings,
this.shape = EnvironmentVolumeShape.box,
Vector3? extents,
this.radius = 5.0,
this.blendDistance = 1.0,
this.priority = 0.0,
this.weight = 1.0,
}) : extents = extents ?? Vector3.all(5.0);