SpotLight constructor

SpotLight(
  1. String name,
  2. Vector3 pos,
  3. Vector3 dir,
  4. Vector3 colorDiffuse,
  5. Vector3 colorSpecular,
  6. double range,
  7. double angle,
  8. double _spotFocus,
  9. double _near,
  10. double _far,
)

Implementation

SpotLight(
  String name,
  VM.Vector3 this.pos,
  VM.Vector3 this.dir,
  VM.Vector3 colorDiffuse,
  VM.Vector3 colorSpecular,
  this.range,
  this.angle,
  this._spotFocus,
  this._near,
  this._far,
) : super(name, lightTypeSpot, colorDiffuse, colorSpecular);