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

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

Schema class in module `particles`.

## Summary

- Kind: `class`
- Module: `particles`
- Size: `488 (0x01E8)`
- Size bytes: `488`
- Parent: `CParticleFunctionOperator`
- Inherited fields: `16`
- Product: Counter-Strike 2

## Inheritance

- [CParticleFunctionOperator](/cs2/dumped_data/schema/particles/CParticleFunctionOperator) (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_bRunOnce` | [boolean](/cs2/api_reference/lua/base#boolean) | 480 (0x01E0) | - | - | `MPropertyFriendlyName`: "Run Only Once" |

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

No fields.

## Referenced By

| Name | Field | Module | Relation |
| --- | --- | --- | --- |
| [C\_OP\_ChooseRandomChildrenInGroup](/cs2/dumped_data/schema/particles/C_OP_ChooseRandomChildrenInGroup) | - | particles | class |
| [C\_OP\_ControlPointToRadialScreenSpace](/cs2/dumped_data/schema/particles/C_OP_ControlPointToRadialScreenSpace) | - | particles | class |
| [C\_OP\_DistanceBetweenCPsToCP](/cs2/dumped_data/schema/particles/C_OP_DistanceBetweenCPsToCP) | - | particles | class |
| [C\_OP\_DriveCPFromGlobalSoundFloat](/cs2/dumped_data/schema/particles/C_OP_DriveCPFromGlobalSoundFloat) | - | particles | class |
| [C\_OP\_EnableChildrenFromParentParticleCount](/cs2/dumped_data/schema/particles/C_OP_EnableChildrenFromParentParticleCount) | - | particles | class |
| [C\_OP\_ForceControlPointStub](/cs2/dumped_data/schema/particles/C_OP_ForceControlPointStub) | - | particles | class |
| [C\_OP\_HSVShiftToCP](/cs2/dumped_data/schema/particles/C_OP_HSVShiftToCP) | - | particles | class |
| [C\_OP\_LightningSnapshotGenerator](/cs2/dumped_data/schema/particles/C_OP_LightningSnapshotGenerator) | - | particles | class |
| [C\_OP\_ModelSurfaceSnapshotGenerator](/cs2/dumped_data/schema/particles/C_OP_ModelSurfaceSnapshotGenerator) | - | particles | class |
| [C\_OP\_MultiSegmentDisplaySnapshotGenerator](/cs2/dumped_data/schema/particles/C_OP_MultiSegmentDisplaySnapshotGenerator) | - | particles | class |
| [C\_OP\_PlayEndCapWhenFinished](/cs2/dumped_data/schema/particles/C_OP_PlayEndCapWhenFinished) | - | particles | class |
| [C\_OP\_QuantizeCPComponent](/cs2/dumped_data/schema/particles/C_OP_QuantizeCPComponent) | - | particles | class |
| [C\_OP\_RampCPLinearRandom](/cs2/dumped_data/schema/particles/C_OP_RampCPLinearRandom) | - | particles | class |
| [C\_OP\_RemapAverageHitboxSpeedtoCP](/cs2/dumped_data/schema/particles/C_OP_RemapAverageHitboxSpeedtoCP) | - | particles | class |
| [C\_OP\_RemapAverageScalarValuetoCP](/cs2/dumped_data/schema/particles/C_OP_RemapAverageScalarValuetoCP) | - | particles | class |
| [C\_OP\_RemapBoundingVolumetoCP](/cs2/dumped_data/schema/particles/C_OP_RemapBoundingVolumetoCP) | - | particles | class |
| [C\_OP\_RemapCPtoCP](/cs2/dumped_data/schema/particles/C_OP_RemapCPtoCP) | - | particles | class |
| [C\_OP\_RemapDotProductToCP](/cs2/dumped_data/schema/particles/C_OP_RemapDotProductToCP) | - | particles | class |
| [C\_OP\_RemapExternalWindToCP](/cs2/dumped_data/schema/particles/C_OP_RemapExternalWindToCP) | - | particles | class |
| [C\_OP\_RemapModelVolumetoCP](/cs2/dumped_data/schema/particles/C_OP_RemapModelVolumetoCP) | - | particles | class |
| [C\_OP\_RemapSpeedtoCP](/cs2/dumped_data/schema/particles/C_OP_RemapSpeedtoCP) | - | particles | class |
| [C\_OP\_RepeatedTriggerChildGroup](/cs2/dumped_data/schema/particles/C_OP_RepeatedTriggerChildGroup) | - | particles | class |
| [C\_OP\_SelectivelyEnableChildren](/cs2/dumped_data/schema/particles/C_OP_SelectivelyEnableChildren) | - | particles | class |
| [C\_OP\_SetControlPointFieldFromVectorExpression](/cs2/dumped_data/schema/particles/C_OP_SetControlPointFieldFromVectorExpression) | - | particles | class |
| [C\_OP\_SetControlPointFieldToScalarExpression](/cs2/dumped_data/schema/particles/C_OP_SetControlPointFieldToScalarExpression) | - | particles | class |
| [C\_OP\_SetControlPointFieldToWater](/cs2/dumped_data/schema/particles/C_OP_SetControlPointFieldToWater) | - | particles | class |
| [C\_OP\_SetControlPointFromObjectScale](/cs2/dumped_data/schema/particles/C_OP_SetControlPointFromObjectScale) | - | particles | class |
| [C\_OP\_SetControlPointOrientation](/cs2/dumped_data/schema/particles/C_OP_SetControlPointOrientation) | - | particles | class |
| [C\_OP\_SetControlPointOrientationToCPVelocity](/cs2/dumped_data/schema/particles/C_OP_SetControlPointOrientationToCPVelocity) | - | particles | class |
| [C\_OP\_SetControlPointPositions](/cs2/dumped_data/schema/particles/C_OP_SetControlPointPositions) | - | particles | class |
| [C\_OP\_SetControlPointPositionToRandomActiveCP](/cs2/dumped_data/schema/particles/C_OP_SetControlPointPositionToRandomActiveCP) | - | particles | class |
| [C\_OP\_SetControlPointPositionToTimeOfDayValue](/cs2/dumped_data/schema/particles/C_OP_SetControlPointPositionToTimeOfDayValue) | - | particles | class |
| [C\_OP\_SetControlPointRotation](/cs2/dumped_data/schema/particles/C_OP_SetControlPointRotation) | - | particles | class |
| [C\_OP\_SetControlPointToCenter](/cs2/dumped_data/schema/particles/C_OP_SetControlPointToCenter) | - | particles | class |
| [C\_OP\_SetControlPointToCPVelocity](/cs2/dumped_data/schema/particles/C_OP_SetControlPointToCPVelocity) | - | particles | class |
| [C\_OP\_SetControlPointToHand](/cs2/dumped_data/schema/particles/C_OP_SetControlPointToHand) | - | particles | class |
| [C\_OP\_SetControlPointToHMD](/cs2/dumped_data/schema/particles/C_OP_SetControlPointToHMD) | - | particles | class |
| [C\_OP\_SetControlPointToImpactPoint](/cs2/dumped_data/schema/particles/C_OP_SetControlPointToImpactPoint) | - | particles | class |
| [C\_OP\_SetControlPointToPlayer](/cs2/dumped_data/schema/particles/C_OP_SetControlPointToPlayer) | - | particles | class |
| [C\_OP\_SetControlPointToVectorExpression](/cs2/dumped_data/schema/particles/C_OP_SetControlPointToVectorExpression) | - | particles | class |
| [C\_OP\_SetControlPointToWaterSurface](/cs2/dumped_data/schema/particles/C_OP_SetControlPointToWaterSurface) | - | particles | class |
| [C\_OP\_SetCPOrientationToPointAtCP](/cs2/dumped_data/schema/particles/C_OP_SetCPOrientationToPointAtCP) | - | particles | class |
| [C\_OP\_SetGravityToCP](/cs2/dumped_data/schema/particles/C_OP_SetGravityToCP) | - | particles | class |
| [C\_OP\_SetParentControlPointsToChildCP](/cs2/dumped_data/schema/particles/C_OP_SetParentControlPointsToChildCP) | - | particles | class |
| [C\_OP\_SetRandomControlPointPosition](/cs2/dumped_data/schema/particles/C_OP_SetRandomControlPointPosition) | - | particles | class |
| [C\_OP\_SetSimulationRate](/cs2/dumped_data/schema/particles/C_OP_SetSimulationRate) | - | particles | class |
| [C\_OP\_SetSingleControlPointPosition](/cs2/dumped_data/schema/particles/C_OP_SetSingleControlPointPosition) | - | particles | class |
| [C\_OP\_SetVariable](/cs2/dumped_data/schema/particles/C_OP_SetVariable) | - | particles | class |
| [C\_OP\_StopAfterCPDuration](/cs2/dumped_data/schema/particles/C_OP_StopAfterCPDuration) | - | particles | class |
| [CParticleSystemDefinition](/cs2/dumped_data/schema/particles/CParticleSystemDefinition) | `m_PreEmissionOperators` | particles | - |

