addLight method

  1. @JS('addLight')
JSPromise<JSNumber> addLight(
  1. int type,
  2. double colour,
  3. double intensity,
  4. double posX,
  5. double posY,
  6. double posZ,
  7. double dirX,
  8. double dirY,
  9. double dirZ,
  10. double falloffRadius,
  11. double spotLightConeInner,
  12. double spotLightConeOuter,
  13. double sunAngularRadius,
  14. double sunHaloSize,
  15. double sunHaloFallof,
  16. bool castShadows,
)

Implementation

@JS('addLight')
external JSPromise<JSNumber> addLight(
    int type,
    double colour,
    double intensity,
    double posX,
    double posY,
    double posZ,
    double dirX,
    double dirY,
    double dirZ,
    double falloffRadius,
    double spotLightConeInner,
    double spotLightConeOuter,
    double sunAngularRadius,
    double sunHaloSize,
    double sunHaloFallof,
    bool castShadows);