Skip to content

CGeneralRandomRotation

CS2 build 27045800 · Steam date 2026-11-30 · platform windows-x86_64 · cs2_schema.json

Kind: classSize: 520 bytes (0x208)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
0x180m_nOpEndCapStateParticleEndcapMode_tCParticleFunctionMPropertyFriendlyName operator end cap state MPropertySortPriority -100
0x184m_nToolsStateParticleToolsState_tCParticleFunctionMPropertyFriendlyName operator enabled in tools or game only MPropertySortPriority -100
0x188m_flOpStartFadeInTimefloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator start fadein MPropertySortPriority -100 MPropertyStartGroup Operator Fade
0x18cm_flOpEndFadeInTimefloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator end fadein MPropertySortPriority -100
0x190m_flOpStartFadeOutTimefloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator start fadeout MPropertySortPriority -100
0x194m_flOpEndFadeOutTimefloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator end fadeout MPropertySortPriority -100
0x198m_flOpFadeOscillatePeriodfloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade oscillate MPropertySortPriority -100
0x19cm_bNormalizeToStopTimeboolCParticleFunctionMParticleAdvancedField MPropertyFriendlyName normalize fade times to endcap MPropertySortPriority -100
0x1a0m_flOpTimeOffsetMinfloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade time offset min MPropertySortPriority -100 MPropertyStartGroup Operator Fade Time Offset
0x1a4m_flOpTimeOffsetMaxfloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade time offset max MPropertySortPriority -100
0x1a8m_nOpTimeOffsetSeedint32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade time offset seed MPropertySortPriority -100
0x1acm_nOpTimeScaleSeedint32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade time scale seed MPropertySortPriority -100 MPropertyStartGroup Operator Fade Timescale Modifiers
0x1b0m_flOpTimeScaleMinfloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade time scale min MPropertySortPriority -100
0x1b4m_flOpTimeScaleMaxfloat32CParticleFunctionMParticleAdvancedField MPropertyFriendlyName operator fade time scale max MPropertySortPriority -100
0x1bam_bDisableOperatorboolCParticleFunctionMPropertyStartGroup MPropertySuppressField
0x1c0m_NotesCUtlStringCParticleFunctionMParticleHelpField MPropertyAttributeEditor TextBlock() MPropertyFriendlyName operator help and notes MPropertySortPriority -100
0x1e0m_nAssociatedEmitterIndexint32CParticleFunctionInitializerMPropertyFriendlyName Associated emitter Index
0x1e8m_nFieldOutputParticleAttributeIndex_tMPropertyAttributeChoiceName particlefield_rotation MPropertyFriendlyName rotation field
0x1ecm_flDegreesfloat32MPropertyFriendlyName rotation initial
0x1f0m_flDegreesMinfloat32MPropertyFriendlyName rotation offset from initial min
0x1f4m_flDegreesMaxfloat32MPropertyFriendlyName rotation offset from initial max
0x1f8m_flRotationRandExponentfloat32MPropertyFriendlyName rotation offset exponent
0x1fcm_bRandomlyFlipDirectionboolMPropertyFriendlyName randomly flip direction