4 float m_SegregatedBrakeBrightness = 2;
5 float m_SegregatedBrakeRadius = 6;
6 float m_SegregatedBrakeAngle = 180;
13 m_SegregatedBrightness = 2;
14 m_SegregatedRadius = 10;
15 m_SegregatedAngle = 180;
16 m_SegregatedColorRGB =
Vector(1.0, 1.0, 1.0);
19 m_AggregatedBrightness = 2.5;
20 m_AggregatedRadius = 12;
21 m_AggregatedAngle = 180;
22 m_AggregatedColorRGB =
Vector(1.0, 0.5, 0.5);
26 SetVisibleDuringDaylight(
false);
28 SetFlareVisible(
false);
29 EnableSpecular(
false);
34 void SetAsSegregatedBrakeLight()
36 SetRadiusTo(m_SegregatedBrakeRadius);
37 SetSpotLightAngle(m_SegregatedBrakeAngle);
38 SetBrightnessTo(m_SegregatedBrakeBrightness);
39 SetAmbientColor(m_SegregatedBrakeColorRGB[0], m_SegregatedBrakeColorRGB[1], m_SegregatedBrakeColorRGB[2]);
40 SetDiffuseColor(m_SegregatedBrakeColorRGB[0], m_SegregatedBrakeColorRGB[1], m_SegregatedBrakeColorRGB[2]);
42 SetFlareVisible(
false);
45 void SetAsSegregatedReverseLight()
47 SetRadiusTo(m_SegregatedRadius);
48 SetSpotLightAngle(m_SegregatedAngle);
49 SetBrightnessTo(m_SegregatedBrightness);
50 SetAmbientColor(m_SegregatedColorRGB[0], m_SegregatedColorRGB[1], m_SegregatedColorRGB[2]);
51 SetDiffuseColor(m_SegregatedColorRGB[0], m_SegregatedColorRGB[1], m_SegregatedColorRGB[2]);
53 SetFlareVisible(
false);