EnvironmentResource constructor
EnvironmentResource(
- LocalId id, {
- String name = '',
- EnvironmentSpec environment = const StudioEnvironment(),
- double environmentIntensity = 1.0,
- double exposure = 1.0,
- String toneMapping = 'pbrNeutral',
- int? radianceCubeSize,
- SkyboxSpec? skybox,
- SkyEnvironmentSpec? skyEnvironment,
Creates an environment resource with the documented defaults.
Implementation
EnvironmentResource(
super.id, {
this.name = '',
this.environment = const StudioEnvironment(),
this.environmentIntensity = 1.0,
this.exposure = 1.0,
this.toneMapping = 'pbrNeutral',
this.radianceCubeSize,
this.skybox,
this.skyEnvironment,
});