VRMaterial constructor

VRMaterial({
  1. Color color = const Color(0xFFCCCCCC),
  2. Color emissive = const Color(0xFF000000),
  3. double opacity = 1.0,
  4. double metallic = 0.0,
  5. double roughness = 0.8,
  6. bool doubleSided = false,
  7. bool wireframe = false,
  8. BlendMode blendMode = BlendMode.srcOver,
})

Implementation

VRMaterial({
  this.color = const Color(0xFFCCCCCC),
  this.emissive = const Color(0xFF000000),
  this.opacity = 1.0,
  this.metallic = 0.0,
  this.roughness = 0.8,
  this.doubleSided = false,
  this.wireframe = false,
  this.blendMode = BlendMode.srcOver,
});