Entity systemClasses

CLightComponent

Schema class CLightComponent, derived from CEntityComponent.

Generated from the game's schema. Header: source2mod/schema/entity/classes/CLightComponent.h

Inherits CEntityComponent

Fields

FieldType
__m_pChainEntityCNetworkVarChainer
m_ColorColor
m_SecondaryColorColor
m_flBrightnessfloat
m_flBrightnessScalefloat
m_flBrightnessMultfloat
m_flRangefloat
m_flFallofffloat
m_flAttenuation0float
m_flAttenuation1float
m_flAttenuation2float
m_flThetafloat
m_flPhifloat
m_hLightCookieCStrongHandle<InfoForResourceTypeCTextureBase>
m_nCascadesint32_t
m_nCastShadowsint32_t
m_nShadowWidthint32_t
m_nShadowHeightint32_t
m_bRenderDiffusebool
m_nRenderSpecularint32_t
m_bRenderTransmissivebool
m_flOrthoLightWidthfloat
m_flOrthoLightHeightfloat
m_nStyleint32_t
m_PatternCUtlString
m_nCascadeRenderStaticObjectsint32_t
m_flShadowCascadeCrossFadefloat
m_flShadowCascadeDistanceFadefloat
m_flShadowCascadeDistance0float
m_flShadowCascadeDistance1float
m_flShadowCascadeDistance2float
m_flShadowCascadeDistance3float
m_nShadowCascadeResolution0int32_t
m_nShadowCascadeResolution1int32_t
m_nShadowCascadeResolution2int32_t
m_nShadowCascadeResolution3int32_t
m_bUsesBakedShadowingbool
m_nShadowPriorityint32_t
m_nBakedShadowIndexint32_t
m_nLightPathUniqueIdint32_t
m_nLightMapUniqueIdint32_t
m_bRenderToCubemapsbool
m_bAllowSSTGenerationbool
m_nDirectLightint32_t
m_nBounceLightint32_t
m_flBounceScalefloat
m_flFadeMinDistfloat
m_flFadeMaxDistfloat
m_flShadowFadeMinDistfloat
m_flShadowFadeMaxDistfloat
m_bEnabledbool
m_bFlickerbool
m_bPrecomputedFieldsValidbool
m_vPrecomputedBoundsMinsVector
m_vPrecomputedBoundsMaxsVector
m_vPrecomputedOBBOriginVector
m_vPrecomputedOBBAnglesQAngle
m_vPrecomputedOBBExtentVector
m_flPrecomputedMaxRangefloat
m_nFogLightingModeint32_t
m_flFogContributionStengthfloat
m_flNearClipPlanefloat
m_SkyColorColor
m_flSkyIntensityfloat
m_SkyAmbientBounceColor
m_bUseSecondaryColorbool
m_bMixedShadowsbool
m_flLightStyleStartTimefloat
m_flCapsuleLengthfloat
m_flMinRoughnessfloat
m_bPvsModifyEntitybool

Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).

On this page