Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
LightEntity.c File Reference

Go to the source code of this file.

Classes

class  LightEntityClass

Functions

LightEntityClass GenericEntityClass CreateLight (LightType type, LightFlags flags, float radius, Color color, float LV, vector position, vector direction=vector.Forward)
proto external void SetEnabled (bool state)
proto external bool IsEnabled ()
 Returns true if the light is enabled.
proto external int SetLightFlags (LightFlags flags)
proto external int ClearLightFlags (LightFlags flags)
proto external bool IsLightFlagsSet (LightFlags flags)
 Returns true if the flags is set.
proto external bool IsDynamic ()
 Returns true if the light is dynamic, false otherwise.
proto external void SetCastShadow (bool enable)
proto external bool IsCastShadow ()
 Returns true if the light is casting shadows.
proto external void SetColor (Color color, float LV)
proto external void SetRadius (float radius)
proto external float GetRadius ()
 Returns the current radius of the light in meters.
proto external void SetIntensityEVClip (float clipEV)
proto external void SetConeAngle (float angle)
proto external void SetDistanceAtt (float att)
proto external void SetConeAngleAttenuation (float coneAngleAttenuation)
proto external float GetConeAngle ()
 Returns the current cone angle in degrees (useful for LightType.SPOT only).
proto external void SetTexture (ResourceName textureName)
proto external void SetNearPlane (float nearPlane)
proto external float GetNearPlane ()
 Returns the current near plane of the light in meters.
proto external void SetVolumeEffect (float intensity, float offset, float scale)
proto external void SetLensFlareType (LightLensFlareType type)
proto external void SetLensFlareIndex (int index)
proto external void SetLensFlareScale (float scale)
proto external void SetLensFlareOffset (vector offset)
proto external void SetLightDirection (vector direction)
proto external int SetLightCameraMask (int mask)