ConeEmitterShape constructor

const ConeEmitterShape({
  1. double angle = 0.5,
  2. double radius = 0.0,
})

Creates a cone emitter with base radius and cone half-angle (radians).

Implementation

const ConeEmitterShape({this.angle = 0.5, this.radius = 0.0})
  : assert(angle >= 0),
    assert(radius >= 0);