class EntityLightSourceSource
EntityLightSource › Entity › ObjectTyped › Object › IEntity › Managed
Derived classes
View all 63 descendants
- ScriptedLightBase
- PointLightBase
- AnniversaryBoxLight
- AnniversaryMainLight
- BlowtorchLight
- BonfireLight
- BrightnessTestLight
- BuoyLight
- ChemlightLight
- EntranceLight
- ExplosionLight
- ExplosiveLight
- FireplaceLight
- FlareLight
- FlashGrenadeLight
- GoatLight
- MooringBuoyLight
- MuzzleFlashLight
- MuzzleFlashLight_1
- MuzzleFlashLight_2
- PartyLight
- PersonalLight
- PortableGasLampLight
- Roadblock_Light
- RoadflareLight
- ShellLight
- StoveLight
- TirePileLight
- TorchLight
- WarheadStorageLight
- XmasSleighLight
- XmasTreeLight
- ZombieMummyLight
- SpotLightBase
- PointLightBase
All members, including inherited
Methods 36
proto native void SetLightType(int pType)This works only if it's caled in the light's constructor!
proto native int GetLightType()proto native void SetEnabled(bool pState)proto native bool IsEnabled()proto native void SetCastShadow(bool pState)Referenced by AlarmLight.AlarmLight(), AnniversaryBoxLight.AnniversaryBoxLight(), AnniversaryMainLight.AnniversaryMainLight()
Show 41 more
, BlowtorchLight.BlowtorchLight(), BonfireLight.BonfireLight(), BrightnessTestLight.BrightnessTestLight(), BuoyLight.BuoyLight(), CarLightBase.CarLightBase(), CarRearLightBase.CarRearLight(), CivilianSedanRearLight.CivilianSedanRearLight(), EntranceLight.EntranceLight(), EntranceLightStairs1.EntranceLightStairs1(), ExplosionLight.ExplosionLight(), FireplaceLight.FireplaceLight(), FlareLight.FlareLight(), FlashlightLight.FlashlightLight(), GoatLight.GoatLight(), Hatchback_02RearLight.Hatchback_02RearLight(), HeadtorchLight.HeadtorchLight(), MooringBuoyLight.MooringBuoyLight(), MuzzleFlashLight.MuzzleFlashLight(), MuzzleFlashLight_1.MuzzleFlashLight_1(), MuzzleFlashLight_2.MuzzleFlashLight_2(), Offroad_02RearLight.Offroad_02RearLight(), OffroadHatchbackRearLight.OffroadHatchbackRearLight(), PartyLight.PartyLight(), PersonalLight.PersonalLight(), PistollightLight.PistollightLight(), PortableGasLampLight.PortableGasLampLight(), Roadblock_Light.Roadblock_Light(), RoadflareLight.RoadflareLight(), ScriptedLightBase.TryShadowOptimization(), Sedan_02RearLight.Sedan_02RearLight(), ShellLight.ShellLight(), SpotlightLight.SpotlightLight(), StoveLight.StoveLight(), TirePileLight.TirePileLight(), TorchLight.TorchLight(), Truck_01RearLight.Truck_01RearLight(), UniversallightLight.UniversallightLight(), WarheadStorageLight.WarheadStorageLight(), XmasSleighLight.XmasSleighLight(), XmasTreeLight.XmasTreeLight(), and ZombieMummyLight.ZombieMummyLight()proto native bool GetCastShadow()proto native void SetPulseCoef(float pState)Referenced by ScriptedLightBase.CorrectLightPulseDuringDaylight()
proto native void SetVisibleDuringDaylight(bool pState)Referenced by AlarmLight.AlarmLight(), AnniversaryBoxLight.AnniversaryBoxLight(), AnniversaryMainLight.AnniversaryMainLight()
Show 44 more
, BlowtorchLight.BlowtorchLight(), BonfireLight.BonfireLight(), BrightnessTestLight.BrightnessTestLight(), BuoyLight.BuoyLight(), CarLightBase.CarLightBase(), CarRearLightBase.CarRearLight(), ChemlightLight.ChemlightLight(), CivilianSedanRearLight.CivilianSedanRearLight(), EntranceLight.EntranceLight(), ExplosionLight.ExplosionLight(), ExplosiveLight.ExplosiveLight(), FireplaceLight.FireplaceLight(), FlareLight.FlareLight(), FlashGrenadeLight.FlashGrenadeLight(), FlashlightLight.FlashlightLight(), GoatLight.GoatLight(), Hatchback_02RearLight.Hatchback_02RearLight(), HeadtorchLight.HeadtorchLight(), MooringBuoyLight.MooringBuoyLight(), MuzzleFlashLight.MuzzleFlashLight(), MuzzleFlashLight_1.MuzzleFlashLight_1(), MuzzleFlashLight_2.MuzzleFlashLight_2(), Offroad_02RearLight.Offroad_02RearLight(), OffroadHatchbackRearLight.OffroadHatchbackRearLight(), PartyLight.PartyLight(), PersonalLight.PersonalLight(), PistollightLight.PistollightLight(), PortableGasLampLight.PortableGasLampLight(), Roadblock_Light.Roadblock_Light(), RoadflareLight.RoadflareLight(), ScriptedLightBase.EOnInit(), Sedan_02RearLight.Sedan_02RearLight(), ShellLight.ShellLight(), SpotlightLight.SpotlightLight(), StoveLight.StoveLight(), TirePileLight.TirePileLight(), TorchLight.TorchLight(), Truck_01RearLight.Truck_01RearLight(), UndergroundHandlerClient.EnableLights(), UniversallightLight.UniversallightLight(), WarheadStorageLight.WarheadStorageLight(), XmasSleighLight.XmasSleighLight(), XmasTreeLight.XmasTreeLight(), and ZombieMummyLight.ZombieMummyLight()proto native bool IsVisibleDuringDaylight()Referenced by ScriptedLightBase.EOnInit()
proto native void SetRadius(float pValue)proto native float GetRadius()proto native void EnableHeatHaze(bool pState)proto native void SetHeatHazeRadius(float pValue)proto native float GetHeatHazeRadius()proto native void SetHeatHazePower(float pValue)proto native float GetHeatHazePower()Referenced by AlarmLight.AlarmLight(), AnniversaryBoxLight.AnniversaryBoxLight(), AnniversaryFireworksLauncherClientEvent.SetupLight(), and 50 more
proto native void SetDiffuseColorV(vector pColorVector)proto native void SetDiffuseAlpha(float pAlpha)proto native vector GetDiffuseColorV()proto native float GetDiffuseAlpha()Referenced by AlarmLight.AlarmLight(), AnniversaryBoxLight.AnniversaryBoxLight(), AnniversaryFireworksLauncherClientEvent.SetupLight()
Show 47 more
, AnniversaryMainLight.AnniversaryMainLight(), BlowtorchLight.BlowtorchLight(), BonfireLight.BonfireLight(), BrightnessTestLight.BrightnessTestLight(), BuoyLight.BuoyLight(), CarLightBase.AggregateLight(), CarLightBase.SegregateLight(), CarRearLightBase.SetAsSegregatedBrakeLight(), CarRearLightBase.SetAsSegregatedReverseLight(), ChemlightLight.SetColorToBlue(), ChemlightLight.SetColorToGreen(), ChemlightLight.SetColorToRed(), ChemlightLight.SetColorToWhite(), ChemlightLight.SetColorToYellow(), EntranceLight.EntranceLight(), EntranceLightStairs1.EntranceLightStairs1(), ExplosionLight.ExplosionLight(), ExplosiveLight.ExplosiveLight(), FireplaceLight.FireplaceLight(), FireworksLauncherClientEvent.SetupLight(), FlareLight.FlareLight(), FlareLightBlue.FlareLightBlue(), FlareLightGreen.FlareLightGreen(), FlareLightRed.FlareLightRed(), FlashGrenadeLight.FlashGrenadeLight(), FlashlightLight.FlashlightLight(), GoatLight.GoatLight(), HeadtorchLight.HeadtorchLight(), HeadtorchLight.SetColorToRed(), HeadtorchLight.SetColorToWhite(), MooringBuoyLight.MooringBuoyLight(), MuzzleFlashLight.MuzzleFlashLight(), MuzzleFlashLight_1.MuzzleFlashLight_1(), MuzzleFlashLight_2.MuzzleFlashLight_2(), PartyLight.OnFrameLightSource(), PistollightLight.PistollightLight(), PortableGasLampLight.PortableGasLampLight(), Roadblock_Light.Roadblock_Light(), RoadflareLight.RoadflareLight(), ShellLight.ShellLight(), SpotlightLight.SpotlightLight(), StoveLight.StoveLight(), TirePileLight.TirePileLight(), TorchLight.TorchLight(), UniversallightLight.UniversallightLight(), WarheadStorageLight.WarheadStorageLight(), and ZombieMummyLight.ZombieMummyLight()proto native void SetAmbientColorV(vector pColorVector)proto native void SetAmbientAlpha(float pAlpha)proto native vector GetAmbientColorV()proto native float GetAmbientAlpha()proto native void SetBrightness(float pValue)proto native float GetBrightness()Referenced by FireplaceBase.RefreshFireplaceVisuals()
proto native void SetFlareVisible(bool pState)Referenced by AlarmLight.AlarmLight(), BlowtorchLight.BlowtorchLight(), BonfireLight.BonfireLight()
Show 34 more
, BuoyLight.BuoyLight(), CarLightBase.AggregateLight(), CarLightBase.CarLightBase(), CarLightBase.SegregateLight(), CarRearLightBase.CarRearLight(), CarRearLightBase.SetAsSegregatedBrakeLight(), CarRearLightBase.SetAsSegregatedReverseLight(), ChemlightLight.ChemlightLight(), CivilianSedanRearLight.CivilianSedanRearLight(), EntranceLight.EntranceLight(), ExplosionLight.ExplosionLight(), ExplosiveLight.ExplosiveLight(), FireplaceLight.FireplaceLight(), FlareLight.FlareLight(), FlashGrenadeLight.FlashGrenadeLight(), GoatLight.GoatLight(), Hatchback_02RearLight.Hatchback_02RearLight(), MuzzleFlashLight.MuzzleFlashLight(), MuzzleFlashLight_1.MuzzleFlashLight_1(), MuzzleFlashLight_2.MuzzleFlashLight_2(), Offroad_02RearLight.Offroad_02RearLight(), OffroadHatchbackRearLight.OffroadHatchbackRearLight(), PersonalLight.PersonalLight(), Roadblock_Light.Roadblock_Light(), RoadflareLight.RoadflareLight(), Sedan_02RearLight.Sedan_02RearLight(), ShellLight.ShellLight(), StoveLight.StoveLight(), TirePileLight.TirePileLight(), TorchLight.TorchLight(), Truck_01RearLight.Truck_01RearLight(), WarheadStorageLight.WarheadStorageLight(), XmasSleighLight.XmasSleighLight(), and ZombieMummyLight.ZombieMummyLight()proto native bool IsFlareVisible()proto native void SetFlareRelPosition(vector pPosition)proto native vector GetFlareRelPosition()proto native void SetSpotLightAngle(float pValue)Referenced by CarLightBase.AggregateLight(), CarLightBase.SegregateLight(), CarRearLightBase.SetAsSegregatedBrakeLight()
Show 8 more
, CarRearLightBase.SetAsSegregatedReverseLight(), FlashlightLight.FlashlightLight(), HeadtorchLight.HeadtorchLight(), PistollightLight.PistollightLight(), PistollightLight.UpdateLightMode(), SpotlightLight.SpotlightLight(), UniversallightLight.UniversallightLight(), and UniversallightLight.UpdateLightMode()proto native float GetSpotLightAngle()