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

---
title: "CBaseTrailRenderer"
navbar: dynamic
asidebar: hide
---
# CBaseTrailRenderer

Schema class in module `particles`.

## Summary

- Kind: `class`
- Module: `particles`
- Size: `13144 (0x3358)`
- Size bytes: `13144`
- Parent: `CBaseRendererSource2`
- Inherited fields: `59`
- Product: Counter-Strike 2

## Inheritance

- [CBaseRendererSource2](/cs2/dumped_data/schema/particles/CBaseRendererSource2) (class)
- [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_nOrientationType` | [ParticleOrientationChoiceList\_t](/cs2/dumped_data/schema/particles/ParticleOrientationChoiceList_t) | 11992 (0x2ED8) | - | - | `MPropertyStartGroup`: "Orientation"<br />`MPropertyFriendlyName`: "orientation type"<br />`MPropertySortPriority`: 750 |
| `m_nOrientationControlPoint` | [number](/cs2/api_reference/lua/base#number) | 11996 (0x2EDC) | - | - | `MPropertyFriendlyName`: "orientation control point"<br />`MPropertySortPriority`: 750<br />`MPropertySuppressExpr`: "m\_nOrientationType != PARTICLE\_ORIENTATION\_ALIGN\_TO\_PARTICLE\_NORMAL && m\_nOrientationType != PARTICLE\_ORIENTATION\_SCREENALIGN\_TO\_PARTICLE\_NORMAL" |
| `m_flMinSize` | [number](/cs2/api_reference/lua/base#number) | 12000 (0x2EE0) | - | - | `MPropertyStartGroup`: "Screenspace Fading and culling"<br />`MPropertyFriendlyName`: "minimum visual screen-size"<br />`MPropertySortPriority`: 900 |
| `m_flMaxSize` | [number](/cs2/api_reference/lua/base#number) | 12004 (0x2EE4) | - | - | `MPropertyFriendlyName`: "maximum visual screen-size"<br />`MPropertySortPriority`: 900 |
| `m_bClampV` | [boolean](/cs2/api_reference/lua/base#boolean) | 13136 (0x3350) | - | - | `MPropertyStartGroup`: "Trail UV Controls"<br />`MPropertyFriendlyName`: "Clamp Non-Sheet texture V coords"<br />`MPropertySortPriority`: 800 |

## 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 |

## Inherited Fields From CBaseRendererSource2

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `m_nAlpha2Field` | [number](/cs2/api_reference/lua/base#number) | 1688 (0x0698) | - | - | `MPropertyFriendlyName`: "per-particle alpha scale attribute"<br />`MPropertyAttributeChoiceName`: "particlefield\_scalar"<br />`MPropertySortPriority`: 700 |
| `m_nColorBlendType` | [ParticleColorBlendType\_t](/cs2/dumped_data/schema/particleslib/ParticleColorBlendType_t) | 3448 (0x0D78) | - | - | `MPropertyFriendlyName`: "color blend type"<br />`MPropertySortPriority`: 700 |
| `m_nShaderType` | [SpriteCardShaderType\_t](/cs2/dumped_data/schema/particles/SpriteCardShaderType_t) | 3452 (0x0D7C) | - | - | `MPropertyStartGroup`: "+Material"<br />`MPropertyFriendlyName`: "Shader"<br />`MPropertySortPriority`: 600 |
| `m_strShaderOverride` | [string](/cs2/api_reference/lua/base#string) | 3456 (0x0D80) | - | - | `MPropertyFriendlyName`: "Custom Shader"<br />`MPropertySuppressExpr`: "m\_nShaderType != SPRITECARD\_SHADER\_CUSTOM"<br />`MPropertySortPriority`: 600 |
| `m_flBumpStrength` | [number](/cs2/api_reference/lua/base#number) | 4216 (0x1078) | - | - | `MPropertyFriendlyName`: "Bump Strength"<br />`MPropertySortPriority`: 600 |
| `m_nCropTextureOverride` | [ParticleSequenceCropOverride\_t](/cs2/dumped_data/schema/particles/ParticleSequenceCropOverride_t) | 4220 (0x107C) | - | - | `MPropertyFriendlyName`: "Sheet Crop Behavior"<br />`MPropertySortPriority`: 600 |
| `m_vecTexturesInput` | [value.AtomicCollection](/cs2/api_reference/engine/value#valueatomiccollection)&lt;[TextureGroup\_t](/cs2/dumped_data/schema/particles/TextureGroup_t)&gt; | 4224 (0x1080) | - | - | `MPropertyFriendlyName`: "Textures"<br />`MParticleRequireDefaultArrayEntry`<br />`MPropertyAutoExpandSelf`<br />`MPropertySortPriority`: 600 |
| `m_flAnimationRate` | [number](/cs2/api_reference/lua/base#number) | 4240 (0x1090) | - | - | `MPropertyStartGroup`: "Animation"<br />`MPropertyFriendlyName`: "animation rate"<br />`MPropertyAttributeRange`: "0 5"<br />`MPropertySortPriority`: 500 |
| `m_nAnimationType` | [AnimationType\_t](/cs2/dumped_data/schema/particleslib/AnimationType_t) | 4244 (0x1094) | - | - | `MPropertyFriendlyName`: "animation type"<br />`MPropertySortPriority`: 500 |
| `m_bAnimateInFPS` | [boolean](/cs2/api_reference/lua/base#boolean) | 4248 (0x1098) | - | - | `MPropertyFriendlyName`: "set animation value in FPS"<br />`MPropertySortPriority`: 500 |
| `m_nLightingControlPoint` | [number](/cs2/api_reference/lua/base#number) | 6136 (0x17F8) | - | - | `MPropertyFriendlyName`: "diffuse lighting origin Control Point"<br />`MPropertySortPriority`: 400 |
| `m_nOutputBlendMode` | [ParticleOutputBlendMode\_t](/cs2/dumped_data/schema/particles/ParticleOutputBlendMode_t) | 6140 (0x17FC) | - | - | `MPropertyStartGroup`: "+Color and alpha adjustments"<br />`MPropertyFriendlyName`: "output blend mode"<br />`MPropertySortPriority`: 300 |
| `m_bGammaCorrectVertexColors` | [boolean](/cs2/api_reference/lua/base#boolean) | 6144 (0x1800) | - | - | `MPropertyFriendlyName`: "Gamma-correct vertex colors"<br />`MPropertySortPriority`: 300 |
| `m_bSaturateColorPreAlphaBlend` | [boolean](/cs2/api_reference/lua/base#boolean) | 6145 (0x1801) | - | - | `MPropertyFriendlyName`: "Saturate color pre alphablend"<br />`MPropertySortPriority`: 300<br />`MPropertySuppressExpr`: "mod != dota && mod != hlx" |
| `m_nHSVShiftControlPoint` | [number](/cs2/api_reference/lua/base#number) | 7280 (0x1C70) | - | - | `MPropertyFriendlyName`: "HSV Shift Control Point"<br />`MPropertySortPriority`: 300 |
| `m_nFogType` | [ParticleFogType\_t](/cs2/dumped_data/schema/particles/ParticleFogType_t) | 7284 (0x1C74) | - | - | `MPropertyFriendlyName`: "Apply fog to particle"<br />`MPropertySortPriority`: 300 |
| `m_bTintByFOW` | [boolean](/cs2/api_reference/lua/base#boolean) | 7664 (0x1DF0) | - | - | `MPropertyFriendlyName`: "Apply fog of war to color"<br />`MPropertySortPriority`: 300<br />`MPropertySuppressExpr`: "mod != dota" |
| `m_bTintByGlobalLight` | [boolean](/cs2/api_reference/lua/base#boolean) | 7665 (0x1DF1) | - | - | `MPropertyFriendlyName`: "Apply global light to color"<br />`MPropertySortPriority`: 300<br />`MPropertySuppressExpr`: "mod != dota" |
| `m_nPerParticleAlphaReference` | [SpriteCardPerParticleScale\_t](/cs2/dumped_data/schema/particles/SpriteCardPerParticleScale_t) | 7668 (0x1DF4) | - | - | `MPropertyStartGroup`: "Color and alpha adjustments/Alpha Reference"<br />`MPropertyFriendlyName`: "alpha reference"<br />`MPropertySortPriority`: 300 |
| `m_nPerParticleAlphaRefWindow` | [SpriteCardPerParticleScale\_t](/cs2/dumped_data/schema/particles/SpriteCardPerParticleScale_t) | 7672 (0x1DF8) | - | - | `MPropertyFriendlyName`: "alpha reference window size"<br />`MPropertySortPriority`: 300 |
| `m_nAlphaReferenceType` | [ParticleAlphaReferenceType\_t](/cs2/dumped_data/schema/particles/ParticleAlphaReferenceType_t) | 7676 (0x1DFC) | - | - | `MPropertyFriendlyName`: "alpha reference type"<br />`MPropertySortPriority`: 300 |
| `m_bRefract` | [boolean](/cs2/api_reference/lua/base#boolean) | 8808 (0x2268) | - | - | `MPropertyStartGroup`: "Refraction"<br />`MPropertyFriendlyName`: "refract background"<br />`MPropertySortPriority`: 200 |
| `m_bRefractSolid` | [boolean](/cs2/api_reference/lua/base#boolean) | 8809 (0x2269) | - | - | `MPropertyFriendlyName`: "refract draws opaque - alpha scales refraction"<br />`MPropertySortPriority`: 200<br />`MPropertySuppressExpr`: "!m\_bRefract" |
| `m_bRefract2Passes` | [boolean](/cs2/api_reference/lua/base#boolean) | 8810 (0x226A) | - | - | `MPropertyFriendlyName`: "refract in 2 passes - can refract particles behind, requires (MBOIT!)"<br />`MPropertySortPriority`: 200<br />`MPropertySuppressExpr`: "mod != hlx \|\| !m\_bRefract" |
| `m_nRefractBlurRadius` | [number](/cs2/api_reference/lua/base#number) | 9192 (0x23E8) | - | - | `MPropertyFriendlyName`: "refract blur radius"<br />`MPropertySortPriority`: 200<br />`MPropertySuppressExpr`: "!m\_bRefract" |
| `m_nRefractBlurType` | [BlurFilterType\_t](/cs2/dumped_data/schema/particles/BlurFilterType_t) | 9196 (0x23EC) | - | - | `MPropertyFriendlyName`: "refract blur type"<br />`MPropertySortPriority`: 200<br />`MPropertySuppressExpr`: "!m\_bRefract" |
| `m_bOnlyRenderInEffectsBloomPass` | [boolean](/cs2/api_reference/lua/base#boolean) | 9200 (0x23F0) | - | - | `MPropertyStartGroup`<br />`MPropertyFriendlyName`: "Only Render in effects bloom pass"<br />`MPropertySortPriority`: 1100 |
| `m_bOnlyRenderInEffectsWaterPass` | [boolean](/cs2/api_reference/lua/base#boolean) | 9201 (0x23F1) | - | - | `MPropertyFriendlyName`: "Only Render in effects water pass"<br />`MPropertySortPriority`: 1050<br />`MPropertySuppressExpr`: "mod != csgo && mod != hlx" |
| `m_bUseMixedResolutionRendering` | [boolean](/cs2/api_reference/lua/base#boolean) | 9202 (0x23F2) | - | - | `MPropertyFriendlyName`: "Use Mixed Resolution Rendering"<br />`MPropertySortPriority`: 1200 |
| `m_bOnlyRenderInEffecsGameOverlay` | [boolean](/cs2/api_reference/lua/base#boolean) | 9203 (0x23F3) | - | - | `MPropertyFriendlyName`: "Only Render in effects game overlay pass"<br />`MPropertySortPriority`: 1210<br />`MPropertySuppressExpr`: "mod != csgo" |
| `m_stencilTestID` | [string](/cs2/api_reference/lua/base#string) | 9204 (0x23F4) | - | - | `MPropertyStartGroup`: "Stencil"<br />`MPropertyFriendlyName`: "stencil test ID"<br />`MPropertySortPriority`: 0 |
| `m_bStencilTestExclude` | [boolean](/cs2/api_reference/lua/base#boolean) | 9332 (0x2474) | - | - | `MPropertyFriendlyName`: "only write where stencil is NOT stencil test ID"<br />`MPropertySortPriority`: 0 |
| `m_stencilWriteID` | [string](/cs2/api_reference/lua/base#string) | 9333 (0x2475) | - | - | `MPropertyFriendlyName`: "stencil write ID"<br />`MPropertySortPriority`: 0 |
| `m_bWriteStencilOnDepthPass` | [boolean](/cs2/api_reference/lua/base#boolean) | 9461 (0x24F5) | - | - | `MPropertyFriendlyName`: "write stencil on z-buffer test success"<br />`MPropertySortPriority`: 0 |
| `m_bWriteStencilOnDepthFail` | [boolean](/cs2/api_reference/lua/base#boolean) | 9462 (0x24F6) | - | - | `MPropertyFriendlyName`: "write stencil on z-buffer test failure"<br />`MPropertySortPriority`: 0 |
| `m_bReverseZBuffering` | [boolean](/cs2/api_reference/lua/base#boolean) | 9463 (0x24F7) | - | - | `MPropertyStartGroup`: "Depth buffer control and effects"<br />`MPropertyFriendlyName`: "reverse z-buffer test"<br />`MPropertySortPriority`: 900 |
| `m_bDisableZBuffering` | [boolean](/cs2/api_reference/lua/base#boolean) | 9464 (0x24F8) | - | - | `MPropertyFriendlyName`: "disable z-buffer test"<br />`MPropertySortPriority`: 900 |
| `m_nFeatheringMode` | [ParticleDepthFeatheringMode\_t](/cs2/dumped_data/schema/particles/ParticleDepthFeatheringMode_t) | 9468 (0x24FC) | - | - | `MPropertyFriendlyName`: "Depth feathering mode"<br />`MPropertySortPriority`: 900 |
| `m_nSortMethod` | [ParticleSortingChoiceList\_t](/cs2/dumped_data/schema/particles/ParticleSortingChoiceList_t) | 11352 (0x2C58) | - | - | `MPropertyFriendlyName`: "Sort Method"<br />`MPropertySortPriority`: 900 |
| `m_bBlendFramesSeq0` | [boolean](/cs2/api_reference/lua/base#boolean) | 11356 (0x2C5C) | - | - | `MPropertyStartGroup`: "Animation"<br />`MPropertyFriendlyName`: "blend sequence animation frames"<br />`MPropertySortPriority`: 500 |
| `m_bMaxLuminanceBlendingSequence0` | [boolean](/cs2/api_reference/lua/base#boolean) | 11357 (0x2C5D) | - | - | `MPropertyFriendlyName`: "use max-luminance blending for sequence"<br />`MPropertySortPriority`: 500<br />`MPropertySuppressExpr`: "!m\_bBlendFramesSeq0" |

## Referenced By

| Name | Field | Module | Relation |
| --- | --- | --- | --- |
| [C\_OP\_RenderTrails](/cs2/dumped_data/schema/particles/C_OP_RenderTrails) | - | particles | class |

