DIFF

class EntityLightSourceSource

EntityLightSource Entity ObjectTyped Object IEntity Managed

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 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 bool EnableLinear(bool pState)
proto native void SetPulseCoef(float pState)
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()
proto native float GetRadius()
proto native float GetHeatHazeRadius()
proto native float GetHeatHazePower()
proto native void SetDiffuseColor(float pRed, float pGreen, float pBlue)
proto native void SetDiffuseColorV(vector pColorVector)
proto native void SetDiffuseAlpha(float pAlpha)
proto native vector GetDiffuseColorV()
proto native float GetDiffuseAlpha()
proto native void SetAmbientColor(float pRed, float pGreen, float pBlue)
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 float GetBrightness()
proto native bool IsFlareVisible()
proto native void SetFlareRelPosition(vector pPosition)
proto native vector GetFlareRelPosition()
proto native float GetSpotLightAngle()