Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
LightEntity.c
Go to the documentation of this file.
1
/*
2
===========================================
3
Do not modify, this script is generated
4
===========================================
5
*/
6
11
12
class
LightEntityClass
: GenericEntityClass
13
{
14
}
15
21
class
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
);
125
proto external
void
SetLensFlareType
(
LightLensFlareType
type
);
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
flags
SCR_EAIThreatSectorFlags flags
Definition
AIControlComponentSerializer.c:16
scale
vector scale
Definition
BlenderEndpoints.c:50
GetRadius
float GetRadius()
Definition
SCR_CampaignBuildingAreaMeshComponent.c:21
CreateLight
SCR_BaseLightComponentClass ScriptComponentClass CreateLight(SCR_BaseLightData lightData, vector position, vector direction, float emissivity)
Definition
SCR_BaseLightComponent.c:16
type
EDamageType type
Definition
SCR_DestructibleTreeV2.c:32
direction
vector direction
Definition
SCR_DestructibleTreeV2.c:31
position
vector position
Definition
SCR_DestructibleTreeV2.c:30
index
SCR_DestructionSynchronizationComponentClass ScriptComponentClass int index
Definition
SCR_DestructionSynchronizationComponent.c:17
SetColor
void SetColor(notnull Color color)
Definition
SCR_MapToolMenuUI.c:113
SetRadius
void SetRadius(int radius)
Definition
SCR_MilitaryBaseComponent.c:473
Color
Definition
Color.c:13
GenericEntity
Definition
GenericEntity.c:16
LightEntityClass
Definition
LightEntity.c:13
ResourceName
Definition
ResourceName.c:13
vector
Definition
vector.c:13
SetNearPlane
proto external void SetNearPlane(float nearPlane)
GetNearPlane
proto external float GetNearPlane()
IsLightFlagsSet
proto external bool IsLightFlagsSet(LightFlags flags)
Returns true if the flags is set.
SetTexture
proto external void SetTexture(ResourceName textureName)
SetCastShadow
proto external void SetCastShadow(bool enable)
SetEnabled
void SetEnabled(bool enabled)
Definition
SCR_BaseManualCameraComponent.c:231
SetLensFlareScale
proto external void SetLensFlareScale(float scale)
SetLightDirection
proto external void SetLightDirection(vector direction)
GetConeAngle
proto external float GetConeAngle()
Returns the current cone angle in degrees (useful for LightType.SPOT only).
IsDynamic
proto external bool IsDynamic()
Returns true if the light is dynamic, false otherwise.
SetConeAngle
proto external void SetConeAngle(float angle)
SetConeAngleAttenuation
proto external void SetConeAngleAttenuation(float coneAngleAttenuation)
SetIntensityEVClip
proto external void SetIntensityEVClip(float clipEV)
IsCastShadow
proto external bool IsCastShadow()
Returns true if the light is casting shadows.
ClearLightFlags
proto external int ClearLightFlags(LightFlags flags)
SetVolumeEffect
proto external void SetVolumeEffect(float intensity, float offset, float scale)
SetDistanceAtt
proto external void SetDistanceAtt(float att)
SetLensFlareIndex
proto external void SetLensFlareIndex(int index)
SetLightCameraMask
proto external int SetLightCameraMask(int mask)
IsEnabled
int IsEnabled()
Returns true if the light is enabled.
Definition
SCR_BaseManualCameraComponent.c:239
SetLensFlareType
proto external void SetLensFlareType(LightLensFlareType type)
SetLensFlareOffset
proto external void SetLensFlareOffset(vector offset)
SetLightFlags
proto external int SetLightFlags(LightFlags flags)
LightLensFlareType
LightLensFlareType
Type of the light lens flare.
Definition
LightLensFlareType.c:14
LightFlags
LightFlags
Definition
LightFlags.c:13
LightType
LightType
Definition
LightType.c:13
scripts
GameLib
generated
Entities
LightEntity.c
Generated by
1.17.0