CParticleFunction
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 472 bytes (0x1d8)Alignment: unspecified (0xff sentinel)Module: particlesBinary: !GlobalTypes
Relationships
Inherits from: nothing; this is a root class.
Derived by: CParticleFunctionConstraint, CParticleFunctionEmitter, CParticleFunctionForce, CParticleFunctionInitializer, CParticleFunctionOperator, CParticleFunctionRenderer
Inheritance tree
CParticleFunction (6)
CParticleFunctionConstraint (13)
- C_OP_BoxConstraint
- C_OP_CollideWithParentParticles
- C_OP_CollideWithSelf
- C_OP_ConstrainDistance
- C_OP_ConstrainDistanceToPath
- C_OP_ConstrainDistanceToUserSpecifiedPath
- C_OP_ConstrainLineLength
- C_OP_PlanarConstraint
- C_OP_RopeSpringConstraint
- C_OP_ShapeMatchingConstraint
- C_OP_SpringToVectorConstraint
- C_OP_WorldCollideConstraint
- C_OP_WorldTraceConstraint
CParticleFunctionForce (16)
- C_OP_AttractToControlPoint
- C_OP_CPVelocityForce
- C_OP_CurlNoiseForce
- C_OP_DensityForce
- C_OP_ExternalGameImpulseForce
- C_OP_ExternalWindForce
- C_OP_ForceBasedOnDistanceToPlane
- C_OP_IntraParticleForce
- C_OP_LocalAccelerationForce
- C_OP_ParentVortices
- C_OP_PerParticleForce
- C_OP_RandomForce
- C_OP_TimeVaryingForce
- C_OP_TurbulenceForce
- C_OP_TwistAroundAxis
- C_OP_WindForce
CParticleFunctionInitializer (99)
- C_INIT_AddVectorToVector
- C_INIT_AgeNoise
- C_INIT_ChaoticAttractor
- C_INIT_CheckParticleForWater
- C_INIT_ColorLitPerParticle
- C_INIT_CreateAlongPath
- C_INIT_CreateFromCPs
- C_INIT_CreateFromParentParticles
- C_INIT_CreateFromPlaneCache
- C_INIT_CreateInEpitrochoid
- C_INIT_CreateOnGrid
- C_INIT_CreateOnModel
- C_INIT_CreateOnModelAtHeight
- C_INIT_CreateParticleImpulse
- C_INIT_CreatePhyllotaxis
- C_INIT_CreateSequentialPath
- C_INIT_CreateSequentialPathV2
- C_INIT_CreateSpiralSphere
- C_INIT_CreateWithinBox
- C_INIT_CreateWithinCapsuleTransform
- C_INIT_CreateWithinSphereTransform
- C_INIT_CreationNoise
- C_INIT_DistanceCull
- C_INIT_DistanceToCPInit
- C_INIT_DistanceToNeighborCull
- C_INIT_GlobalScale
- C_INIT_InheritFromParentParticles
- C_INIT_InheritVelocity
- C_INIT_InitFloat
- C_INIT_InitFloatCollection
- C_INIT_InitFromCPSnapshot
- C_INIT_InitFromParentKilled
- C_INIT_InitFromVectorFieldSnapshot
- C_INIT_InitialRepulsionVelocity
- C_INIT_InitialSequenceFromModel
- C_INIT_InitialVelocityFromHitbox
- C_INIT_InitialVelocityNoise
- C_INIT_InitSkinnedPositionFromCPSnapshot
- C_INIT_InitVec
- C_INIT_InitVecCollection
- C_INIT_LifespanFromVelocity
- C_INIT_ModelCull
- C_INIT_MoveBetweenPoints
- C_INIT_NormalAlignToCP
- C_INIT_NormalOffset
- C_INIT_OffsetVectorToVector
- C_INIT_Orient2DRelToCP
- C_INIT_PlaneCull
- C_INIT_PointList
- C_INIT_PositionOffset
- C_INIT_PositionOffsetToCP
- C_INIT_PositionPlaceOnGround
- C_INIT_PositionWarp
- C_INIT_PositionWarpScalar
- C_INIT_QuantizeFloat
- C_INIT_RadiusFromCPObject
- C_INIT_RandomAlpha
- C_INIT_RandomAlphaWindowThreshold
- C_INIT_RandomColor
- C_INIT_RandomLifeTime
- C_INIT_RandomModelSequence
- C_INIT_RandomNamedModelElement
- C_INIT_RandomRadius
- C_INIT_RandomScalar
- C_INIT_RandomSecondSequence
- C_INIT_RandomSequence
- C_INIT_RandomTrailLength
- C_INIT_RandomVector
- C_INIT_RandomVectorComponent
- C_INIT_RandomYawFlip
- C_INIT_RemapInitialDirectionToTransformToVector
- C_INIT_RemapInitialTransformDirectionToRotation
- C_INIT_RemapInitialVisibilityScalar
- C_INIT_RemapNamedModelElementToScalar
- C_INIT_RemapParticleCountToScalar
- C_INIT_RemapQAnglesToRotation
- C_INIT_RemapScalarToVector
- C_INIT_RemapTransformOrientationToRotations
- C_INIT_RemapTransformToVector
- C_INIT_RingWave
- C_INIT_RtEnvCull
- C_INIT_ScaleVelocity
- C_INIT_ScreenSpacePositionOfTarget
- C_INIT_SequenceFromCP
- C_INIT_SequenceLifeTime
- C_INIT_SetAttributeToScalarExpression
- C_INIT_SetFloatAttributeToVectorExpression
- C_INIT_SetHitboxToClosest
- C_INIT_SetHitboxToModel
- C_INIT_SetRigidAttachment
- C_INIT_SetVectorAttributeToVectorExpression
- C_INIT_SkyVisCull
- C_INIT_StatusEffect
- C_INIT_StatusEffectCitadel
- C_INIT_VelocityFromCP
- C_INIT_VelocityFromNormal
- C_INIT_VelocityRadialRandom
- C_INIT_VelocityRandom
- CGeneralRandomRotation
CParticleFunctionOperator (157)
- C_OP_AlphaDecay
- C_OP_BasicMovement
- C_OP_CalculateVectorAttribute
- C_OP_ChladniWave
- C_OP_ClampScalar
- C_OP_ClampVector
- C_OP_ColorAdjustHSL
- C_OP_ColorInterpolate
- C_OP_ColorInterpolateRandom
- C_OP_ConnectParentParticleToNearest
- C_OP_ControlpointLight
- C_OP_CPOffsetToPercentageBetweenCPs
- C_OP_Cull
- C_OP_CycleScalar
- C_OP_CylindricalDistanceToTransform
- C_OP_DampenToCP
- C_OP_Decay
- C_OP_DecayClampCount
- C_OP_DecayMaintainCount
- C_OP_DecayOffscreen
- C_OP_DifferencePreviousParticle
- C_OP_Diffusion
- C_OP_DirectionBetweenVecsToVec
- C_OP_DistanceBetweenTransforms
- C_OP_DistanceBetweenVecs
- C_OP_DistanceCull
- C_OP_DistanceToTransform
- C_OP_DragRelativeToPlane
- C_OP_EndCapDecay
- C_OP_EndCapTimedDecay
- C_OP_EndCapTimedFreeze
- C_OP_FadeAndKill
- C_OP_FadeAndKillForTracers
- C_OP_FadeIn
- C_OP_FadeInSimple
- C_OP_FadeOut
- C_OP_FadeOutSimple
- C_OP_GlobalLight
- C_OP_InheritFromParentParticles
- C_OP_InheritFromParentParticlesV2
- C_OP_InheritFromPeerSystem
- C_OP_InterpolateRadius
- C_OP_LagCompensation
- C_OP_LazyCullCompareFloat
- C_OP_LerpEndCapScalar
- C_OP_LerpEndCapVector
- C_OP_LerpScalar
- C_OP_LerpToInitialPosition
- C_OP_LerpToOtherAttribute
- C_OP_LerpVector
- C_OP_LockPoints
- C_OP_LockToBone
- C_OP_LockToPointList
- C_OP_LockToSavedSequentialPath
- C_OP_LockToSavedSequentialPathV2
- C_OP_MaintainSequentialPath
- C_OP_MaxVelocity
- C_OP_ModelCull
- C_OP_ModelDampenMovement
- C_OP_MovementLoopInsideSphere
- C_OP_MovementMaintainOffset
- C_OP_MovementMoveAlongSkinnedCPSnapshot
- C_OP_MovementPlaceOnGround
- C_OP_MovementRigidAttachToCP
- C_OP_MovementRotateParticleAroundAxis
- C_OP_MovementSkinnedPositionFromCPSnapshot
- C_OP_MoveToHitbox
- C_OP_Noise
- C_OP_NormalizeVector
- C_OP_NormalLock
- C_OP_Orient2DRelToCP
- C_OP_OrientTo2dDirection
- C_OP_OscillateScalar
- C_OP_OscillateScalarSimple
- C_OP_OscillateVector
- C_OP_OscillateVectorSimple
- C_OP_PercentageBetweenTransformLerpCPs
- C_OP_PercentageBetweenTransforms
- C_OP_PercentageBetweenTransformsVector
- C_OP_PinParticleToCP
- C_OP_PinRopeSegmentParticleToParent
- C_OP_PlaneCull
- C_OP_PointVectorAtNextParticle
- C_OP_PositionLock
- C_OP_QuantizeFloat
- C_OP_RadiusDecay
- C_OP_RampScalarLinear
- C_OP_RampScalarLinearSimple
- C_OP_RampScalarSpline
- C_OP_RampScalarSplineSimple
- C_OP_ReadFromNeighboringParticle
- C_OP_ReinitializeScalarEndCap
- C_OP_RemapControlPointDirectionToVector
- C_OP_RemapControlPointOrientationToRotation
- C_OP_RemapCPtoScalar
- C_OP_RemapCPtoVector
- C_OP_RemapCPVelocityToVector
- C_OP_RemapCrossProductOfTwoVectorsToVector
- C_OP_RemapDensityGradientToVectorAttribute
- C_OP_RemapDensityToVector
- C_OP_RemapDirectionToCPToVector
- C_OP_RemapDistanceToLineSegmentBase
- C_OP_RemapDotProductToScalar
- C_OP_RemapGravityToVector
- C_OP_RemapNamedModelElementEndCap
- C_OP_RemapNamedModelElementOnceTimed
- C_OP_RemapParticleCountOnScalarEndCap
- C_OP_RemapParticleCountToScalar
- C_OP_RemapScalar
- C_OP_RemapScalarEndCap
- C_OP_RemapScalarOnceTimed
- C_OP_RemapSpeed
- C_OP_RemapTransformOrientationToRotations
- C_OP_RemapTransformOrientationToYaw
- C_OP_RemapTransformToVelocity
- C_OP_RemapTransformVisibilityToScalar
- C_OP_RemapTransformVisibilityToVector
- C_OP_RemapVectorComponentToScalar
- C_OP_RemapVectortoCP
- C_OP_RemapVectorToRotations
- and 37 more
CParticleFunctionRenderer (33)
- C_OP_Callback
- C_OP_ClientPhysics
- C_OP_CreateParticleSystemRenderer
- C_OP_GameDecalRenderer
- C_OP_GameLiquidSpill
- C_OP_RenderAsModels
- C_OP_RenderBlobs
- C_OP_RenderCables
- C_OP_RenderClientPhysicsImpulse
- C_OP_RenderClothForce
- C_OP_RenderDeferredLight
- C_OP_RenderFlattenGrass
- C_OP_RenderGpuImplicit
- C_OP_RenderLightBeam
- C_OP_RenderMaterialProxy
- C_OP_RenderModels
- C_OP_RenderOmni2Light
- C_OP_RenderPoints
- C_OP_RenderPostProcessing
- C_OP_RenderProjected
- C_OP_RenderScreenShake
- C_OP_RenderScreenVelocityRotate
- C_OP_RenderSimpleModelCollection
- C_OP_RenderSound
- C_OP_RenderStandardLight
- C_OP_RenderStatusEffect
- C_OP_RenderStatusEffectCitadel
- C_OP_RenderText
- C_OP_RenderTreeShake
- C_OP_RenderVolumetricEmitter
- C_OP_RenderVRHapticEvent
- C_OP_WaterImpulseRenderer
- CBaseRendererSource2
Relationship diagram (7 edges)
classDiagram
CParticleFunction <|-- CParticleFunctionConstraint
CParticleFunction <|-- CParticleFunctionEmitter
CParticleFunction <|-- CParticleFunctionForce
CParticleFunction <|-- CParticleFunctionInitializer
CParticleFunction <|-- CParticleFunctionOperator
CParticleFunction <|-- CParticleFunctionRenderer
CParticleFunction *-- CParticleCollectionFloatInputMemory layout
17 fields, 17 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.
CParticleFunction
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_flOpStrength | CParticleCollectionFloatInput | MPropertyFriendlyName operator strength MPropertySortPriority -100 | |
0x178 | m_nOpEndCapState | ParticleEndcapMode_t | MPropertyFriendlyName operator end cap state MPropertySortPriority -100 | |
0x17c | m_nToolsState | ParticleToolsState_t | MPropertyFriendlyName operator enabled in tools or game only MPropertySortPriority -100 | |
0x180 | m_flOpStartFadeInTime | float32 | MParticleAdvancedField MPropertyFriendlyName operator start fadein MPropertySortPriority -100 MPropertyStartGroup Operator Fade | |
0x184 | m_flOpEndFadeInTime | float32 | MParticleAdvancedField MPropertyFriendlyName operator end fadein MPropertySortPriority -100 | |
0x188 | m_flOpStartFadeOutTime | float32 | MParticleAdvancedField MPropertyFriendlyName operator start fadeout MPropertySortPriority -100 | |
0x18c | m_flOpEndFadeOutTime | float32 | MParticleAdvancedField MPropertyFriendlyName operator end fadeout MPropertySortPriority -100 | |
0x190 | m_flOpFadeOscillatePeriod | float32 | MParticleAdvancedField MPropertyFriendlyName operator fade oscillate MPropertySortPriority -100 | |
0x194 | m_bNormalizeToStopTime | bool | MParticleAdvancedField MPropertyFriendlyName normalize fade times to endcap MPropertySortPriority -100 | |
0x198 | m_flOpTimeOffsetMin | float32 | MParticleAdvancedField MPropertyFriendlyName operator fade time offset min MPropertySortPriority -100 MPropertyStartGroup Operator Fade Time Offset | |
0x19c | m_flOpTimeOffsetMax | float32 | MParticleAdvancedField MPropertyFriendlyName operator fade time offset max MPropertySortPriority -100 | |
0x1a0 | m_nOpTimeOffsetSeed | int32 | MParticleAdvancedField MPropertyFriendlyName operator fade time offset seed MPropertySortPriority -100 | |
0x1a4 | m_nOpTimeScaleSeed | int32 | MParticleAdvancedField MPropertyFriendlyName operator fade time scale seed MPropertySortPriority -100 MPropertyStartGroup Operator Fade Timescale Modifiers | |
0x1a8 | m_flOpTimeScaleMin | float32 | MParticleAdvancedField MPropertyFriendlyName operator fade time scale min MPropertySortPriority -100 | |
0x1ac | m_flOpTimeScaleMax | float32 | MParticleAdvancedField MPropertyFriendlyName operator fade time scale max MPropertySortPriority -100 | |
0x1b2 | m_bDisableOperator | bool | MPropertyStartGroup MPropertySuppressField | |
0x1b8 | m_Notes | CUtlString | MParticleHelpField MPropertyFriendlyName operator help and notes MPropertySortPriority -100 |