Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
LightEntity.c
Go to the documentation of this file.
1/*
2===========================================
3Do not modify, this script is generated
4===========================================
5*/
6
11
12class LightEntityClass: GenericEntityClass
13{
14}
15
21class LightEntity: GenericEntity
22{
34 static proto LightEntity CreateLight(LightType type, LightFlags flags, float radius, Color color, float LV, vector position, vector direction = vector.Forward);
39 proto external void SetEnabled(bool state);
41 proto external bool IsEnabled();
48 proto external int SetLightFlags(LightFlags flags);
54 proto external int ClearLightFlags(LightFlags flags);
56 proto external bool IsLightFlagsSet(LightFlags flags);
58 proto external bool IsDynamic();
59 proto external void SetCastShadow(bool enable);
61 proto external bool IsCastShadow();
67 proto external void SetColor(Color color, float LV);
72 proto external void SetRadius(float radius);
74 proto external float GetRadius();
80 proto external void SetIntensityEVClip(float clipEV);
84 proto external void SetConeAngle(float angle);
90 proto external void SetDistanceAtt(float att);
95 proto external void SetConeAngleAttenuation(float coneAngleAttenuation);
97 proto external float GetConeAngle();
106 proto external void SetTexture(ResourceName textureName);
111 proto external void SetNearPlane(float nearPlane);
113 proto external float GetNearPlane();
120 proto external void SetVolumeEffect(float intensity, float offset, float scale);
130 proto external void SetLensFlareIndex(int index);
135 proto external void SetLensFlareScale(float scale);
140 proto external void SetLensFlareOffset(vector offset);
145 proto external void SetLightDirection(vector direction);
152 proto external int SetLightCameraMask(int mask);
153}
154
SCR_EAIThreatSectorFlags flags
vector scale
SCR_BaseLightComponentClass ScriptComponentClass CreateLight(SCR_BaseLightData lightData, vector position, vector direction, float emissivity)
EDamageType type
vector direction
vector position
SCR_DestructionSynchronizationComponentClass ScriptComponentClass int index
void SetColor(notnull Color color)
void SetRadius(int radius)
Definition Color.c:13
proto external void SetNearPlane(float nearPlane)
proto external float GetNearPlane()
proto external bool IsLightFlagsSet(LightFlags flags)
Returns true if the flags is set.
proto external void SetTexture(ResourceName textureName)
proto external void SetCastShadow(bool enable)
void SetEnabled(bool enabled)
proto external void SetLensFlareScale(float scale)
proto external void SetLightDirection(vector direction)
proto external float GetConeAngle()
Returns the current cone angle in degrees (useful for LightType.SPOT only).
proto external bool IsDynamic()
Returns true if the light is dynamic, false otherwise.
proto external void SetConeAngle(float angle)
proto external void SetConeAngleAttenuation(float coneAngleAttenuation)
proto external void SetIntensityEVClip(float clipEV)
proto external bool IsCastShadow()
Returns true if the light is casting shadows.
proto external int ClearLightFlags(LightFlags flags)
proto external void SetVolumeEffect(float intensity, float offset, float scale)
proto external void SetDistanceAtt(float att)
proto external void SetLensFlareIndex(int index)
proto external int SetLightCameraMask(int mask)
int IsEnabled()
Returns true if the light is enabled.
proto external void SetLensFlareType(LightLensFlareType type)
proto external void SetLensFlareOffset(vector offset)
proto external int SetLightFlags(LightFlags flags)
LightLensFlareType
Type of the light lens flare.
LightFlags
Definition LightFlags.c:13
LightType
Definition LightType.c:13