> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "C_OP_RenderStandardLight"
navbar: dynamic
asidebar: hide
---
# C\_OP\_RenderStandardLight

Schema class in module `particles`.

## Summary

- Kind: `class`
- Module: `particles`
- Size: `6184 (0x1828)`
- Size bytes: `6184`
- Parent: `CParticleFunctionRenderer`
- Inherited fields: `18`
- Product: Counter-Strike 2

## Inheritance

- [CParticleFunctionRenderer](/cs2/dumped_data/schema/particles/CParticleFunctionRenderer) (class)
- [CParticleFunction](/cs2/dumped_data/schema/particles/CParticleFunction) (class)
- [value.DeclaredClass](/cs2/api_reference/engine/value#valuedeclaredclass) (class)

## Own Fields

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `m_nLightType` | [ParticleLightTypeChoiceList\_t](/cs2/dumped_data/schema/particles/ParticleLightTypeChoiceList_t) | 560 (0x0230) | - | - | `MPropertyFriendlyName`: "light type" |
| `m_nMaxAllowed` | [number](/cs2/api_reference/lua/base#number) | 564 (0x0234) | - | - | `MPropertyFriendlyName`: "maximum light count"<br />`MPropertyAttributeRange`: "1 512" |
| `m_nColorBlendType` | [ParticleColorBlendType\_t](/cs2/dumped_data/schema/particleslib/ParticleColorBlendType_t) | 2320 (0x0910) | - | - | `MPropertyFriendlyName`: "color blend type" |
| `m_strLightStyle` | [string](/cs2/api_reference/lua/base#string) | 2328 (0x0918) | - | - | `MPropertyFriendlyName`: "light style"<br />`MPropertyAttributeEditor`: "VDataChoice( scripts/light\_styles.vdata )" |
| `m_bCastShadows` | [boolean](/cs2/api_reference/lua/base#boolean) | 3088 (0x0C10) | - | - | `MPropertyFriendlyName`: "cast shadows"<br />`MPropertySuppressExpr`: "m\_nLightType == PARTICLE\_LIGHT\_TYPE\_FX" |
| `m_bDynamicBounce` | [boolean](/cs2/api_reference/lua/base#boolean) | 3089 (0x0C11) | - | - | `MPropertyFriendlyName`: "dynamic bounce (RTGI)"<br />`MPropertySuppressExpr`: "!m\_bCastShadows \|\| m\_nLightType == PARTICLE\_LIGHT\_TYPE\_FX \|\| mod == csgo" |
| `m_nAttenuationStyle` | [StandardLightingAttenuationStyle\_t](/cs2/dumped_data/schema/particles/StandardLightingAttenuationStyle_t) | 4600 (0x11F8) | - | - | `MPropertyFriendlyName`: "attenuation type" |
| `m_bRenderDiffuse` | [boolean](/cs2/api_reference/lua/base#boolean) | 5736 (0x1668) | - | - | `MPropertyFriendlyName`: "render diffuse"<br />`MPropertySuppressExpr`: "m\_nLightType == PARTICLE\_LIGHT\_TYPE\_FX" |
| `m_bRenderSpecular` | [boolean](/cs2/api_reference/lua/base#boolean) | 5737 (0x1669) | - | - | `MPropertyFriendlyName`: "render specular"<br />`MPropertySuppressExpr`: "m\_nLightType == PARTICLE\_LIGHT\_TYPE\_FX" |
| `m_lightCookie` | [string](/cs2/api_reference/lua/base#string) | 5744 (0x1670) | - | - | `MPropertyFriendlyName`: "light cookie string" |
| `m_nPriority` | [number](/cs2/api_reference/lua/base#number) | 5752 (0x1678) | - | - | `MPropertyFriendlyName`: "light priority" |
| `m_nFogLightingMode` | [ParticleLightFogLightingMode\_t](/cs2/dumped_data/schema/particles/ParticleLightFogLightingMode_t) | 5756 (0x167C) | - | - | `MPropertyFriendlyName`: "fog lighting mode"<br />`MPropertySuppressExpr`: "m\_nLightType == PARTICLE\_LIGHT\_TYPE\_FX" |
| `m_nCapsuleLightBehavior` | [ParticleLightBehaviorChoiceList\_t](/cs2/dumped_data/schema/particles/ParticleLightBehaviorChoiceList_t) | 6136 (0x17F8) | - | - | `MPropertyFriendlyName`: "capsule behavior" |
| `m_flCapsuleLength` | [number](/cs2/api_reference/lua/base#number) | 6140 (0x17FC) | - | - | `MPropertyStartGroup`: "Capsule Light Controls"<br />`MPropertyFriendlyName`: "capsule length"<br />`MPropertySuppressExpr`: "m\_nCapsuleLightBehavior == PARTICLE\_LIGHT\_BEHAVIOR\_ROPE \|\| m\_nCapsuleLightBehavior == PARTICLE\_LIGHT\_BEHAVIOR\_TRAILS" |
| `m_bReverseOrder` | [boolean](/cs2/api_reference/lua/base#boolean) | 6144 (0x1800) | - | - | `MPropertyFriendlyName`: "reverse point order"<br />`MPropertySuppressExpr`: "m\_nCapsuleLightBehavior == PARTICLE\_LIGHT\_BEHAVIOR\_FOLLOW\_DIRECTION \|\| m\_nCapsuleLightBehavior == PARTICLE\_LIGHT\_BEHAVIOR\_TRAILS" |
| `m_bClosedLoop` | [boolean](/cs2/api_reference/lua/base#boolean) | 6145 (0x1801) | - | - | `MPropertyFriendlyName`: "Closed loop"<br />`MPropertySuppressExpr`: "m\_nCapsuleLightBehavior == PARTICLE\_LIGHT\_BEHAVIOR\_FOLLOW\_DIRECTION \|\| m\_nCapsuleLightBehavior == PARTICLE\_LIGHT\_BEHAVIOR\_TRAILS" |
| `m_nPrevPntSource` | [number](/cs2/api_reference/lua/base#number) | 6148 (0x1804) | - | - | `MPropertyFriendlyName`: "Anchor point source"<br />`MPropertyAttributeChoiceName`: "particlefield\_vector"<br />`MPropertySuppressExpr`: "m\_nCapsuleLightBehavior == PARTICLE\_LIGHT\_BEHAVIOR\_FOLLOW\_DIRECTION \|\| m\_nCapsuleLightBehavior == PARTICLE\_LIGHT\_BEHAVIOR\_ROPE" |
| `m_flMaxLength` | [number](/cs2/api_reference/lua/base#number) | 6152 (0x1808) | - | - | `MPropertyFriendlyName`: "max length"<br />`MPropertySuppressExpr`: "m\_nCapsuleLightBehavior == PARTICLE\_LIGHT\_BEHAVIOR\_FOLLOW\_DIRECTION \|\| m\_nCapsuleLightBehavior == PARTICLE\_LIGHT\_BEHAVIOR\_ROPE" |
| `m_flMinLength` | [number](/cs2/api_reference/lua/base#number) | 6156 (0x180C) | - | - | `MPropertyFriendlyName`: "min length"<br />`MPropertySuppressExpr`: "m\_nCapsuleLightBehavior == PARTICLE\_LIGHT\_BEHAVIOR\_FOLLOW\_DIRECTION \|\| m\_nCapsuleLightBehavior == PARTICLE\_LIGHT\_BEHAVIOR\_ROPE" |
| `m_bIgnoreDT` | [boolean](/cs2/api_reference/lua/base#boolean) | 6160 (0x1810) | - | - | `MPropertyFriendlyName`: "ignore delta time"<br />`MPropertySuppressExpr`: "m\_nCapsuleLightBehavior == PARTICLE\_LIGHT\_BEHAVIOR\_FOLLOW\_DIRECTION \|\| m\_nCapsuleLightBehavior == PARTICLE\_LIGHT\_BEHAVIOR\_ROPE" |
| `m_flConstrainRadiusToLengthRatio` | [number](/cs2/api_reference/lua/base#number) | 6164 (0x1814) | - | - | `MPropertyFriendlyName`: "constrain radius to no more than this times the length"<br />`MPropertySuppressExpr`: "m\_nCapsuleLightBehavior == PARTICLE\_LIGHT\_BEHAVIOR\_FOLLOW\_DIRECTION \|\| m\_nCapsuleLightBehavior == PARTICLE\_LIGHT\_BEHAVIOR\_ROPE" |
| `m_flLengthScale` | [number](/cs2/api_reference/lua/base#number) | 6168 (0x1818) | - | - | `MPropertyFriendlyName`: "amount to scale trail length by"<br />`MPropertySuppressExpr`: "m\_nCapsuleLightBehavior == PARTICLE\_LIGHT\_BEHAVIOR\_FOLLOW\_DIRECTION \|\| m\_nCapsuleLightBehavior == PARTICLE\_LIGHT\_BEHAVIOR\_ROPE" |
| `m_flLengthFadeInTime` | [number](/cs2/api_reference/lua/base#number) | 6172 (0x181C) | - | - | `MPropertyFriendlyName`: "how long before a trail grows to its full length"<br />`MPropertySuppressExpr`: "m\_nCapsuleLightBehavior == PARTICLE\_LIGHT\_BEHAVIOR\_FOLLOW\_DIRECTION \|\| m\_nCapsuleLightBehavior == PARTICLE\_LIGHT\_BEHAVIOR\_ROPE" |

## Inherited Fields From CParticleFunction

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `m_nOpEndCapState` | [ParticleEndcapMode\_t](/cs2/dumped_data/schema/particles/ParticleEndcapMode_t) | 384 (0x0180) | - | - | `MPropertyFriendlyName`: "operator end cap state"<br />`MPropertySortPriority`: -100 |
| `m_nToolsState` | [ParticleToolsState\_t](/cs2/dumped_data/schema/particles/ParticleToolsState_t) | 388 (0x0184) | - | - | `MPropertyFriendlyName`: "operator enabled in tools or game only"<br />`MPropertySortPriority`: -100 |
| `m_flOpStartFadeInTime` | [number](/cs2/api_reference/lua/base#number) | 392 (0x0188) | - | - | `MPropertyStartGroup`: "Operator Fade"<br />`MPropertyFriendlyName`: "operator start fadein"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_flOpEndFadeInTime` | [number](/cs2/api_reference/lua/base#number) | 396 (0x018C) | - | - | `MPropertyFriendlyName`: "operator end fadein"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_flOpStartFadeOutTime` | [number](/cs2/api_reference/lua/base#number) | 400 (0x0190) | - | - | `MPropertyFriendlyName`: "operator start fadeout"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_flOpEndFadeOutTime` | [number](/cs2/api_reference/lua/base#number) | 404 (0x0194) | - | - | `MPropertyFriendlyName`: "operator end fadeout"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_flOpFadeOscillatePeriod` | [number](/cs2/api_reference/lua/base#number) | 408 (0x0198) | - | - | `MPropertyFriendlyName`: "operator fade oscillate"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_bNormalizeToStopTime` | [boolean](/cs2/api_reference/lua/base#boolean) | 412 (0x019C) | - | - | `MPropertyFriendlyName`: "normalize fade times to endcap"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_flOpTimeOffsetMin` | [number](/cs2/api_reference/lua/base#number) | 416 (0x01A0) | - | - | `MPropertyStartGroup`: "Operator Fade Time Offset"<br />`MPropertyFriendlyName`: "operator fade time offset min"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_flOpTimeOffsetMax` | [number](/cs2/api_reference/lua/base#number) | 420 (0x01A4) | - | - | `MPropertyFriendlyName`: "operator fade time offset max"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_nOpTimeOffsetSeed` | [number](/cs2/api_reference/lua/base#number) | 424 (0x01A8) | - | - | `MPropertyFriendlyName`: "operator fade time offset seed"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_nOpTimeScaleSeed` | [number](/cs2/api_reference/lua/base#number) | 428 (0x01AC) | - | - | `MPropertyStartGroup`: "Operator Fade Timescale Modifiers"<br />`MPropertyFriendlyName`: "operator fade time scale seed"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_flOpTimeScaleMin` | [number](/cs2/api_reference/lua/base#number) | 432 (0x01B0) | - | - | `MPropertyFriendlyName`: "operator fade time scale min"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_flOpTimeScaleMax` | [number](/cs2/api_reference/lua/base#number) | 436 (0x01B4) | - | - | `MPropertyFriendlyName`: "operator fade time scale max"<br />`MParticleAdvancedField`<br />`MPropertySortPriority`: -100 |
| `m_bDisableOperator` | [boolean](/cs2/api_reference/lua/base#boolean) | 442 (0x01BA) | - | - | `MPropertyStartGroup`<br />`MPropertySuppressField` |
| `m_Notes` | [string](/cs2/api_reference/lua/base#string) | 448 (0x01C0) | - | - | `MPropertyFriendlyName`: "operator help and notes"<br />`MParticleHelpField`<br />`MPropertyAttributeEditor`: "TextBlock()"<br />`MPropertySortPriority`: -100 |

## Inherited Fields From CParticleFunctionRenderer

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `VisibilityInputs` | [CParticleVisibilityInputs](/cs2/dumped_data/schema/particles/CParticleVisibilityInputs) | 480 (0x01E0) | - | - | `MPropertySortPriority`: -1 |
| `m_bCannotBeRefracted` | [boolean](/cs2/api_reference/lua/base#boolean) | 552 (0x0228) | - | - | `MPropertyStartGroup`: "Rendering filter"<br />`MPropertyFriendlyName`: "I cannot be refracted through refracting objects like water"<br />`MPropertySortPriority`: -1 |

