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

◆ HeadtorchLight()

void SpotLightBase::HeadtorchLight ( )
inlineprivate

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

7 {
8 SetVisibleDuringDaylight( true );
9 SetRadiusTo( m_DefaultRadius );
10 SetSpotLightAngle( 95 );
11 SetCastShadow( true );
12 FadeIn( 0.06 );
13 SetBrightnessTo( m_DefaultBrightness );
14 SetAmbientColor( 0.92, 0.85, 0.58 );
15 SetDiffuseColor( 0.92, 0.85, 0.58 );
16 SetFadeOutTime( 0.1 );
17 //SetDisableShadowsWithinRadius(0.25); // Idea for optimization: Uncomment this to disable shadows from Headtorch while it's on player's head during 1P view.
18 }
static float m_DefaultRadius
Определения FlashlightLight.c:4
static float m_DefaultBrightness
Определения FlashlightLight.c:3

Перекрестные ссылки m_DefaultBrightness и m_DefaultRadius.