Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_BaseLightData.c
Go to the documentation of this file.
1
2//------------------------------------------------------------------------------------------------
6{
7 [Attribute(defvalue: "0", uiwidget: UIWidgets.ComboBox, enums: ParamEnumArray.FromEnum(LightType))]
8 private LightType m_eLightType;
9
10 [Attribute("0 0.3 0", UIWidgets.EditBox, "Light offset in local space from the origin of the entity", params: "inf inf purpose=coords space=entity")]
11 private vector m_vLightOffset;
12
13 [Attribute("1 1 1", UIWidgets.ColorPicker, "Color of the light")]
14 private vector m_vLightColor;
15
16 [Attribute("0 0 1", UIWidgets.EditBox, "Direction of the light cone (useful for LightType.SPOT only).")]
17 private vector m_vLightConeDirection;
18
19 [Attribute("0", UIWidgets.EditBox, "Angle of the light cone (useful for LightType.SPOT only).")]
20 private float m_fConeAngle;
21
22 [Attribute("0", UIWidgets.EditBox, "Radius of the light effect")]
23 private float m_fRadius;
24
25 [Attribute("0", UIWidgets.EditBox, "Clip intensity value of light effect in EV, use negative value to see light even in brighter times.", params: "-10 10 0.1")]
26 private float m_fIntensityClipEV;
27
28 [Attribute(defvalue: "0", uiwidget: UIWidgets.ComboBox, enums: ParamEnumArray.FromEnum(LightLensFlareType))]
29 private LightLensFlareType m_eFlareType;
30
31 [Attribute("0", UIWidgets.EditBox, "Radius of the light effect")]
32 private vector m_vFlareOffset;
33
34 [Attribute("0", UIWidgets.EditBox, "Scale of lens flare")]
35 private float m_fScale;
36
37 [Attribute(defvalue: "1", uiwidget: UIWidgets.Flags, enums: ParamEnumArray.FromEnum(LightFlags))]
38 private LightFlags m_eLightFlags;
39
40 //------------------------------------------------------------------------------------------------
41 vector GetLightOffset()
42 {
43 return m_vLightOffset;
44 }
45
46 //------------------------------------------------------------------------------------------------
47 vector GetLightColor()
48 {
49 return m_vLightColor;
50 }
51
52 //------------------------------------------------------------------------------------------------
53 vector GetLightConeDirection()
54 {
55 return m_vLightConeDirection;
56 }
57
58 //------------------------------------------------------------------------------------------------
59 float GetLightConeAngle()
60 {
61 return m_fConeAngle;
62 }
63
64 //------------------------------------------------------------------------------------------------
65 float GetEffectRadius()
66 {
67 return m_fRadius;
68 }
69
70 //------------------------------------------------------------------------------------------------
71 float GetIntensityClipEV()
72 {
73 return m_fIntensityClipEV;
74 }
75
76 //------------------------------------------------------------------------------------------------
77 vector GetLensFlareOffset()
78 {
79 return m_vFlareOffset;
80 }
81
82 //------------------------------------------------------------------------------------------------
83 float GetLensFlareScale()
84 {
85 return m_fScale;
86 }
87
88 //------------------------------------------------------------------------------------------------
89 LightLensFlareType GetFlareType()
90 {
91 return m_eFlareType;
92 }
93
94 //------------------------------------------------------------------------------------------------
95 LightType GetLightType()
96 {
97 return m_eLightType;
98 }
99
100 //------------------------------------------------------------------------------------------------
101 LightFlags GetLightFlag()
102 {
103 return m_eLightFlags;
104 }
105};
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Light parameters.
SCR_FieldOfViewSettings Attribute
LightLensFlareType
Type of the light lens flare.
LightFlags
Definition LightFlags.c:13
LightType
Definition LightType.c:13