StageMetadata constructor

StageMetadata({
  1. UpAxis upAxis = UpAxis.y,
  2. Handedness handedness = Handedness.left,
  3. double unitsPerMeter = 1.0,
  4. EnvironmentSpec environment = const StudioEnvironment(),
  5. double environmentIntensity = 1.0,
  6. double exposure = 1.0,
  7. String toneMapping = 'pbrNeutral',
  8. String antiAliasingMode = 'auto',
  9. double renderScale = 1.0,
  10. String filterQuality = 'medium',
  11. SkyboxSpec? skybox,
  12. SkyEnvironmentSpec? skyEnvironment,
})

Creates stage metadata with the documented defaults.

Implementation

StageMetadata({
  this.upAxis = UpAxis.y,
  this.handedness = Handedness.left,
  this.unitsPerMeter = 1.0,
  this.environment = const StudioEnvironment(),
  this.environmentIntensity = 1.0,
  this.exposure = 1.0,
  this.toneMapping = 'pbrNeutral',
  this.antiAliasingMode = 'auto',
  this.renderScale = 1.0,
  this.filterQuality = 'medium',
  this.skybox,
  this.skyEnvironment,
});