Skip to content

CGeneralRandomRotation

CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json

Kind: classSize: 512 bytes (0x200)Alignment: unspecified (0xff sentinel)Module: particlesBinary: !GlobalTypes

Relationships

Inherits from: CParticleFunctionInitializer

Derived by: C_INIT_RandomRotation, C_INIT_RandomRotationSpeed, C_INIT_RandomYaw

Inheritance tree
Relationship diagram (6 edges)
classDiagram
    CParticleFunction <|-- CParticleFunctionInitializer
    CParticleFunctionInitializer <|-- CGeneralRandomRotation
    CGeneralRandomRotation <|-- C_INIT_RandomRotation
    CGeneralRandomRotation <|-- C_INIT_RandomRotationSpeed
    CGeneralRandomRotation <|-- C_INIT_RandomYaw
    CGeneralRandomRotation *-- ParticleAttributeIndex_t
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

24 fields, 6 declared here and 18 inherited. Offsets are absolute from the object base on windows-x86_64.

CParticleFunctionCParticleFunctionInitializerCGeneralRandomRotation

OffsetFieldTypeFromAnnotations
0x8m_flOpStrengthCParticleCollectionFloatInputCParticleFunctionMPropertyFriendlyName operator strength MPropertySortPriority -100
0x178m_nOpEndCapStateParticleEndcapMode_tCParticleFunctionMPropertyFriendlyName operator end cap state MPropertySortPriority -100
0x17cm_nToolsStateParticleToolsState_tCParticleFunctionMPropertyFriendlyName operator enabled in tools or game only MPropertySortPriority -100
0x180m_flOpStartFadeInTimefloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator start fadein MPropertySortPriority -100 MPropertyStartGroup Operator Fade
0x184m_flOpEndFadeInTimefloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator end fadein MPropertySortPriority -100
0x188m_flOpStartFadeOutTimefloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator start fadeout MPropertySortPriority -100
0x18cm_flOpEndFadeOutTimefloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator end fadeout MPropertySortPriority -100
0x190m_flOpFadeOscillatePeriodfloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade oscillate MPropertySortPriority -100
0x194m_bNormalizeToStopTimeboolCParticleFunctionMParticleAdvancedField MPropertyFriendlyName normalize fade times to endcap MPropertySortPriority -100
0x198m_flOpTimeOffsetMinfloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade time offset min MPropertySortPriority -100 MPropertyStartGroup Operator Fade Time Offset
0x19cm_flOpTimeOffsetMaxfloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade time offset max MPropertySortPriority -100
0x1a0m_nOpTimeOffsetSeedint32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade time offset seed MPropertySortPriority -100
0x1a4m_nOpTimeScaleSeedint32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade time scale seed MPropertySortPriority -100 MPropertyStartGroup Operator Fade Timescale Modifiers
0x1a8m_flOpTimeScaleMinfloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade time scale min MPropertySortPriority -100
0x1acm_flOpTimeScaleMaxfloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade time scale max MPropertySortPriority -100
0x1b2m_bDisableOperatorboolCParticleFunctionMPropertyStartGroup MPropertySuppressField
0x1b8m_NotesCUtlStringCParticleFunctionMParticleHelpField MPropertyFriendlyName operator help and notes MPropertySortPriority -100
0x1d8m_nAssociatedEmitterIndexint32CParticleFunctionInitializerMPropertyFriendlyName Associated emitter Index
0x1e0m_nFieldOutputParticleAttributeIndex_tMPropertyAttributeChoiceName particlefield_rotation MPropertyFriendlyName rotation field
0x1e4m_flDegreesfloat32MPropertyFriendlyName rotation initial
0x1e8m_flDegreesMinfloat32MPropertyFriendlyName rotation offset from initial min
0x1ecm_flDegreesMaxfloat32MPropertyFriendlyName rotation offset from initial max
0x1f0m_flRotationRandExponentfloat32MPropertyFriendlyName rotation offset exponent
0x1f4m_bRandomlyFlipDirectionboolMPropertyFriendlyName randomly flip direction