MaterialMap constructor

MaterialMap({
  1. StructPointer<MaterialMap>? op,
  2. Texture? texture,
  3. Color? color,
  4. double value = 0,
})

Implementation

MaterialMap({
  super.op,
  Texture? texture,
  Color? color,
  double value = 0,
}) :
  _texture = texture ?? .zero(),
  _color = color ?? .zero(),
  _value = value;