Source2Toolkit
SchemaEntityClasses

CLightComponent

CLightComponent

Inheritance: CEntityComponent

Fields

  • __m_pChainEntity CEntityInstance*
  • m_Color Color
  • m_SecondaryColor Color
  • m_flBrightness float
  • m_flBrightnessScale float
  • m_flBrightnessMult float
  • m_flRange float
  • m_flFalloff float
  • m_flAttenuation0 float
  • m_flAttenuation1 float
  • m_flAttenuation2 float
  • m_flTheta float
  • m_flPhi float
  • m_hLightCookie CStrongHandle< InfoForResourceTypeCTextureBase >
  • m_nCascades int32_t
  • m_nCastShadows int32_t
  • m_nShadowWidth int32_t
  • m_nShadowHeight int32_t
  • m_bRenderDiffuse bool
  • m_nRenderSpecular int32_t
  • m_bRenderTransmissive bool
  • m_flOrthoLightWidth float
  • m_flOrthoLightHeight float
  • m_nStyle int32_t
  • m_Pattern CUtlString
  • m_nCascadeRenderStaticObjects int32_t
  • m_flShadowCascadeCrossFade float
  • m_flShadowCascadeDistanceFade float
  • m_flShadowCascadeDistance0 float
  • m_flShadowCascadeDistance1 float
  • m_flShadowCascadeDistance2 float
  • m_flShadowCascadeDistance3 float
  • m_nShadowCascadeResolution0 int32_t
  • m_nShadowCascadeResolution1 int32_t
  • m_nShadowCascadeResolution2 int32_t
  • m_nShadowCascadeResolution3 int32_t
  • m_bUsesBakedShadowing bool
  • m_nShadowPriority int32_t
  • m_nBakedShadowIndex int32_t
  • m_nLightPathUniqueId int32_t
  • m_nLightMapUniqueId int32_t
  • m_bRenderToCubemaps bool
  • m_bAllowSSTGeneration bool
  • m_nDirectLight int32_t
  • m_nIndirectLight int32_t
  • m_bDynamicBounce bool
  • m_flFadeMinDist float
  • m_flFadeMaxDist float
  • m_flShadowFadeMinDist float
  • m_flShadowFadeMaxDist float
  • m_bEnabled bool
  • m_bFlicker bool
  • m_bPrecomputedFieldsValid bool
  • m_vPrecomputedBoundsMins Vector
  • m_vPrecomputedBoundsMaxs Vector
  • m_vPrecomputedOBBOrigin Vector
  • m_vPrecomputedOBBAngles QAngle
  • m_vPrecomputedOBBExtent Vector
  • m_flPrecomputedMaxRange float
  • m_nFogLightingMode int32_t
  • m_flFogContributionStength float
  • m_flNearClipPlane float
  • m_SkyColor Color
  • m_flSkyIntensity float
  • m_SkyAmbientBounce Color
  • m_bUseSecondaryColor bool
  • m_bMixedShadows bool
  • m_flLightStyleStartTime float
  • m_flCapsuleLength float
  • m_flMinRoughness float
  • m_bPvsModifyEntity bool

On this page