DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ CarRearLight()

void CarLightBase::CarRearLight ( )
inlineprivate

См. определение в файле CarRearLightBase.c строка 9

10 {
11 // These are just some default values which can be overwrittend down in the hierarchy.
12 // Reverse light only
13 m_SegregatedBrightness = 2;
14 m_SegregatedRadius = 10;
15 m_SegregatedAngle = 180;
16 m_SegregatedColorRGB = Vector(1.0, 1.0, 1.0);
17
18 // Brake & Revese lights combined
19 m_AggregatedBrightness = 2.5;
20 m_AggregatedRadius = 12;
21 m_AggregatedAngle = 180;
22 m_AggregatedColorRGB = Vector(1.0, 0.5, 0.5);
23
24 FadeIn(0.1);
25 SetFadeOutTime(0.1);
26 SetVisibleDuringDaylight(false);
27 SetCastShadow(false);
28 SetFlareVisible(false);
29 EnableSpecular(false); // Specular is disabled because it causes ugly shining on cars
30
31 SegregateLight();
32 }
proto native vector Vector(float x, float y, float z)
Vector constructor from components.

Перекрестные ссылки Vector().