class EntityLightSource
EntityLightSource › Entity › ObjectTyped › Object › IEntity › Managed
Full hierarchy 64Full members 369
- Managed
- IEntity
- Object
- ObjectTyped
- Entity
- EntityLightSource
- ScriptedLightBase
63
- PointLightBase
40
- 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
21
- PointLightBase
- ScriptedLightBase
- EntityLightSource
- Entity
- ObjectTyped
- Object
- IEntity
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 42 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(), VehicleLightBase.VehicleLightBase(), 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 45 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(), VehicleLightBase.VehicleLightBase(), 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 54 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(), and 51 more
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 39 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(), VehicleLightBase.AggregateLight(), VehicleLightBase.SegregateLight(), VehicleLightBase.SetAsSegregatedBrakeLight(), VehicleLightBase.SetAsSegregatedReverseLight(), VehicleLightBase.VehicleLightBase(), 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 12 more
, CarRearLightBase.SetAsSegregatedReverseLight(), FlashlightLight.FlashlightLight(), HeadtorchLight.HeadtorchLight(), PistollightLight.PistollightLight(), PistollightLight.UpdateLightMode(), SpotlightLight.SpotlightLight(), UniversallightLight.UniversallightLight(), UniversallightLight.UpdateLightMode(), VehicleLightBase.AggregateLight(), VehicleLightBase.SegregateLight(), VehicleLightBase.SetAsSegregatedBrakeLight(), and VehicleLightBase.SetAsSegregatedReverseLight()proto native float GetSpotLightAngle()