Source 2 Viewer
Game
Counter-Strike 2
Dota 2
Deadlock
Half-Life: Alyx
Section
Schemas
18,521
ConVars & Commands
7,357
Show
All
18,521
Classes
17,573
Enums
948
Entities
7,027
Components
22
Networked
3,709
VData
166
Exclusive
14,521
C_EnvLightP
robeVolume
C_EnvPa
rticleGlow
C_EnvSky
C_EnvVolumetricFog
Controller
C_EnvVolumetri
cFogVolume
C_EnvWind
C_EnvWind
Clientside
C_Env
WindShared
C_FoWBlo
ckerEntity
C_FoWReve
alerEntity
C_Fog
Controller
C
_FuncBrush
C_FuncElectri
fiedVolume
C_Func
MoveLinear
C
_FuncMover
C_Fu
ncRotating
C_Func
TrackTrain
C
_GameRules
C_Game
RulesProxy
C_G
lobalLight
C_HorizontalMotion
Controller
C_InfoPlayerSt
artBadGuys
C_InfoPlaye
rStartDota
C_InfoPlayerSta
rtGoodGuys
C_InfoVis
ibilityBox
C_Ingame
Event_Base
C_IngameEven
t_DotaPlus
C_IngameEvent
_DotaPrime
C_IngameEv
ent_FM2015
C_IngameEv
ent_FM2016
C_IngameEv
ent_FV2018
C_IngameEv
ent_FV2019
C_IngameEv
ent_NB2020
C_Ingam
eEvent_TI6
C_Ingam
eEvent_TI7
C_Ingam
eEvent_TI8
C_Ingam
eEvent_TI9
C_IngameEv
ent_WM2016
C_IngameEv
ent_WM2017
C_LightDirecti
onalEntity
C_L
ightEntity
C_LightEnviron
mentEntity
C_LightO
rthoEntity
C_Light
SpotEntity
C_Local
TempEntity
C_ModelP
ointEntity
C_Mult
iplayRules
C_NetTestBaseComba
tCharacter
C_NextBotComba
tCharacter
C_Part
icleSystem
Type
/
to search schemas
Dota 2
client
C_BaseEntity
C_GlobalLight
C_GlobalLight
env_global_light
2880 bytes (0x0B40), align 16
Source
Inherits
CGlobalLightBase
at 0x05F0
C_BaseEntity
CEntityInstance
Metadata
MEntityAllowsPortraitWorldSpawn
Also in
Counter-Strike 2
offsets differ
Fields
Declared here
With inherited
Name
Type
Offset
Inherited fields
0x0000 – 0x0B0F
m_WindClothForceHandle
uint16
2832
0x0B10
MNotSaved
env_global_light
spawnable
Flags
ECF_ALWAYS_SPAWN_ON_CLIENT
Keyvalues
Declared here
With inherited
Name
Type
Field
Inherited keyvalues
specularpower
additional fields
explicit base
float32
CGlobalLightBase.m_flSpecularPower
specularindependence
additional fields
explicit base
float32
CGlobalLightBase.m_flSpecularIndependence
specularcolor
additional fields
explicit base
Color
CGlobalLightBase.m_SpecularColor
StartDisabled
additional fields
explicit base
bool
CGlobalLightBase.m_bStartDisabled
color
additional fields
explicit base
Color
CGlobalLightBase.m_LightColor
ambientcolor1
additional fields
explicit base
Color
CGlobalLightBase.m_AmbientColor1
ambientcolor2
additional fields
explicit base
Color
CGlobalLightBase.m_AmbientColor2
ambientcolor3
additional fields
explicit base
Color
CGlobalLightBase.m_AmbientColor3
fov
additional fields
explicit base
float32
CGlobalLightBase.m_flFOV
nearz
additional fields
explicit base
float32
CGlobalLightBase.m_flNearZ
farz
additional fields
explicit base
float32
CGlobalLightBase.m_flFarZ
enableshadows
additional fields
explicit base
bool
CGlobalLightBase.m_bEnableShadows
background_clear_not_required
additional fields
explicit base
bool
CGlobalLightBase.m_bBackgroundClearNotRequired
ambientscale1
additional fields
explicit base
float32
CGlobalLightBase.m_flAmbientScale1
ambientscale2
additional fields
explicit base
float32
CGlobalLightBase.m_flAmbientScale2
groundscale
additional fields
explicit base
float32
CGlobalLightBase.m_flGroundScale
lightscale
additional fields
explicit base
float32
CGlobalLightBase.m_flLightScale
fow_darkness
additional fields
explicit base
float32
CGlobalLightBase.m_flFoWDarkness
enable_separate_skybox_fog
additional fields
explicit base
bool
CGlobalLightBase.m_bEnableSeparateSkyboxFog
Inputs
Declared here
With inherited
Name
Pulse
Description
Inherited inputs
LightScale
(param:
float
)
—
TurnOff
()
—
TurnOn
()
—