DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
EntityLightSource.c
См. документацию.
7
8class EntityLightSource extends Entity
9{
10 //---------------------------------------------------------------------------
11 // Generic interface
12 //---------------------------------------------------------------------------
13 proto native void SetLightType(int pType); // This works only if it's caled in the light's constructor!
14 proto native int GetLightType();
15
16 proto native void SetEnabled(bool pState);
17 proto native bool IsEnabled();
18
19 proto native void SetCastShadow(bool pState);
20 proto native bool GetCastShadow();
21
22 proto native bool EnableSpecular(bool pState);
23 proto native bool EnableLinear(bool pState);
24
25 proto native void SetPulseCoef(float pState);
26
27 proto native void SetVisibleDuringDaylight(bool pState);
28 proto native bool IsVisibleDuringDaylight();
29
30 proto native void SetRadius(float pValue);
31 proto native float GetRadius();
32
33 //---------------------------------------------------------------------------
34 // heat haze
35 //---------------------------------------------------------------------------
36 proto native void EnableHeatHaze(bool pState);
37
38 proto native void SetHeatHazeRadius(float pValue);
39 proto native float GetHeatHazeRadius();
40
41 proto native void SetHeatHazePower(float pValue);
42 proto native float GetHeatHazePower();
43
44 //---------------------------------------------------------------------------
45 // colors & brightness
46 //---------------------------------------------------------------------------
47 proto native void SetDiffuseColor(float pRed, float pGreen, float pBlue);
48 proto native void SetDiffuseColorV(vector pColorVector);
49 proto native void SetDiffuseAlpha(float pAlpha);
50 proto native vector GetDiffuseColorV();
51 proto native float GetDiffuseAlpha();
52
53 proto native void SetAmbientColor(float pRed, float pGreen, float pBlue);
54 proto native void SetAmbientColorV(vector pColorVector);
55 proto native void SetAmbientAlpha(float pAlpha);
56 proto native vector GetAmbientColorV();
57 proto native float GetAmbientAlpha();
58
59 proto native void SetBrightness(float pValue);
60 proto native float GetBrightness();
61
62 //---------------------------------------------------------------------------
63 // flares
64 //---------------------------------------------------------------------------
65 proto native void SetFlareVisible(bool pState);
66 proto native bool IsFlareVisible();
67 proto native void SetFlareRelPosition(vector pPosition);
69
70 //---------------------------------------------------------------------------
71 // spot light specifics
72 //---------------------------------------------------------------------------
73 proto native void SetSpotLightAngle(float pValue);
74 proto native float GetSpotLightAngle();
75};
LightSourceType
Определения EntityLightSource.c:2
@ SpotLight
Определения EntityLightSource.c:5
@ PointLight
Определения EntityLightSource.c:4
@ NotDef
Определения EntityLightSource.c:3
proto native void SetDiffuseAlpha(float pAlpha)
proto native void SetFlareRelPosition(vector pPosition)
proto native void SetSpotLightAngle(float pValue)
proto native bool IsEnabled()
proto native float GetDiffuseAlpha()
proto native void EnableHeatHaze(bool pState)
proto native float GetRadius()
proto native bool GetCastShadow()
proto native float GetHeatHazeRadius()
proto native void SetVisibleDuringDaylight(bool pState)
proto native int GetLightType()
proto native vector GetFlareRelPosition()
proto native void SetPulseCoef(float pState)
proto native void SetAmbientAlpha(float pAlpha)
proto native float GetHeatHazePower()
proto native void SetBrightness(float pValue)
proto native bool EnableLinear(bool pState)
proto native float GetBrightness()
proto native void SetDiffuseColorV(vector pColorVector)
proto native vector GetDiffuseColorV()
proto native float GetSpotLightAngle()
proto native void SetAmbientColor(float pRed, float pGreen, float pBlue)
proto native void SetHeatHazeRadius(float pValue)
proto native bool IsFlareVisible()
proto native bool EnableSpecular(bool pState)
proto native void SetAmbientColorV(vector pColorVector)
proto native void SetHeatHazePower(float pValue)
proto native void SetDiffuseColor(float pRed, float pGreen, float pBlue)
proto native float GetAmbientAlpha()
proto native void SetCastShadow(bool pState)
proto native void SetEnabled(bool pState)
proto native bool IsVisibleDuringDaylight()
proto native void SetRadius(float pValue)
proto native void SetFlareVisible(bool pState)
proto native vector GetAmbientColorV()
proto native void SetLightType(int pType)
Определения Camera.c:2
Определения EnConvert.c:106