xmastreelight.c 293 B

12345678910111213
  1. class XmasTreeLight extends PointLightBase
  2. {
  3. void XmasTreeLight()
  4. {
  5. SetVisibleDuringDaylight(false);
  6. SetRadiusTo( 12 );
  7. SetBrightnessTo( 0.50 );
  8. SetCastShadow(false);
  9. SetDiffuseColor(1.2, 1.0, 0.7);
  10. SetDancingShadowsMovementSpeed(0.005);
  11. SetDancingShadowsAmplitude(0.003);
  12. }
  13. }