OverlayDraw constructor

OverlayDraw(
  1. GpuPrimitive primitive,
  2. Matrix4 world, {
  3. (double, double, double, double) color = (1.0, 0.6, 0.1, 1.0),
  4. bool xray = false,
})

primitive's edges, placed by world, in color (straight RGBA).

Implementation

OverlayDraw(
  this.primitive,
  Matrix4 world, {
  this.color = const (1.0, 0.6, 0.1, 1.0),
  this.xray = false,
}) {
  this.world.setFrom(world);
}