UArMaterial constructor

const UArMaterial({
  1. Color color = const Color(0xFFFFFFFF),
  2. double metallic = 0,
  3. double roughness = 0.6,
  4. double opacity = 1,
  5. Color? emissive,
  6. UArSource? texture,
  7. bool unlit = false,
  8. bool doubleSided = false,
  9. bool occluder = false,
  10. bool renderOnTop = false,
})

Implementation

const UArMaterial({
  this.color = const Color(0xFFFFFFFF),
  this.metallic = 0,
  this.roughness = 0.6,
  this.opacity = 1,
  this.emissive,
  this.texture,
  this.unlit = false,
  this.doubleSided = false,
  this.occluder = false,
  this.renderOnTop = false,
});