spotlightlight.c 308 B

123456789101112131415
  1. class SpotlightLight extends SpotLightBase
  2. {
  3. void SpotlightLight()
  4. {
  5. SetVisibleDuringDaylight(true);
  6. SetRadiusTo(60);
  7. SetSpotLightAngle(140);
  8. SetCastShadow(true);
  9. SetBrightnessTo(20.0);
  10. SetFadeOutTime(0.3);
  11. FadeIn(0.2);
  12. SetAmbientColor(0.8, 0.9, 1.0);
  13. SetDiffuseColor(0.8, 0.9, 1.0);
  14. }
  15. }