Skip to content

C_OP_RenderStandardLight

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

Kind: classSize: 6184 bytes (0x1828)Alignment: 8 bytesModule: particlesBinary: !GlobalTypes

Relationships

Inherits from: CParticleFunctionRenderer

Inheritance tree
Relationship diagram (7 edges)
classDiagram
    CParticleFunction <|-- CParticleFunctionRenderer
    CParticleFunctionRenderer <|-- C_OP_RenderStandardLight
    C_OP_RenderStandardLight *-- CParticleCollectionVecInput
    C_OP_RenderStandardLight *-- CPerParticleFloatInput
    C_OP_RenderStandardLight *-- CParticleCollectionFloatInput
    C_OP_RenderStandardLight *-- CParticleCollectionRendererFloatInput
    C_OP_RenderStandardLight *-- ParticleAttributeIndex_t
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

53 fields, 34 declared here and 19 inherited. Offsets are absolute from the object base on windows-x86_64.

CParticleFunctionCParticleFunctionRendererC_OP_RenderStandardLight

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
0x1e0VisibilityInputsCParticleVisibilityInputsCParticleFunctionRendererMPropertySortPriority -1
0x228m_bCannotBeRefractedboolCParticleFunctionRendererMPropertyFriendlyName I cannot be refracted through refracting objects like water MPropertySortPriority -1 MPropertyStartGroup Rendering filter
0x230m_nLightTypeParticleLightTypeChoiceList_tMPropertyFriendlyName light type
0x234m_nMaxAlloweduint16MPropertyAttributeRange 1 512 MPropertyFriendlyName maximum light count
0x238m_vecColorScaleCParticleCollectionVecInputMPropertyFriendlyName color blend
0x910m_nColorBlendTypeParticleColorBlendType_tMPropertyFriendlyName color blend type
0x918m_strLightStyleCUtlStringMPropertyAttributeEditor VDataChoice( scripts/light_styles.vdata ) MPropertyFriendlyName light style
0x920m_flLightStyleTimeCPerParticleFloatInputMPropertyFriendlyName light style time MPropertySuppressExpr m_strLightStyle == ''
0xa98m_flIntensityCPerParticleFloatInputMPropertyFriendlyName intensity
0xc10m_bCastShadowsboolMPropertyFriendlyName cast shadows MPropertySuppressExpr m_nLightType == PARTICLE_LIGHT_TYPE_FX
0xc11m_bDynamicBounceboolMPropertyFriendlyName dynamic bounce (RTGI) MPropertySuppressExpr !m_bCastShadows || m_nLightType == PARTICLE_LIGHT_TYPE_FX || mod == csgo
0xc18m_flBounceScaleCParticleCollectionFloatInputMPropertyFriendlyName bounce scale MPropertySuppressExpr !m_bDynamicBounce
0xd90m_flThetaCParticleCollectionFloatInputMPropertyFriendlyName inner cone angle MPropertySuppressExpr m_nLightType != PARTICLE_LIGHT_TYPE_SPOT
0xf08m_flPhiCParticleCollectionFloatInputMPropertyFriendlyName outer cone angle MPropertySuppressExpr m_nLightType != PARTICLE_LIGHT_TYPE_SPOT
0x1080m_flRadiusMultiplierCParticleCollectionFloatInputMPropertyFriendlyName light radius multiplier
0x11f8m_nAttenuationStyleStandardLightingAttenuationStyle_tMPropertyFriendlyName attenuation type
0x1200m_flFalloffLinearityCParticleCollectionFloatInputMPropertyFriendlyName falloff linearity MPropertySuppressExpr m_nAttenuationStyle == LIGHT_STYLE_NEW || ( m_nAttenuationStyle == LIGHT_STYLE_OLD && m_nLightType == PARTICLE_LIGHT_TYPE_FX )
0x1378m_flFiftyPercentFalloffCParticleCollectionFloatInputMPropertyFriendlyName falloff fifty percent MPropertySuppressExpr m_nAttenuationStyle == LIGHT_STYLE_OLD
0x14f0m_flZeroPercentFalloffCParticleCollectionFloatInputMPropertyFriendlyName falloff zero percent MPropertySuppressExpr m_nAttenuationStyle == LIGHT_STYLE_OLD
0x1668m_bRenderDiffuseboolMPropertyFriendlyName render diffuse MPropertySuppressExpr m_nLightType == PARTICLE_LIGHT_TYPE_FX
0x1669m_bRenderSpecularboolMPropertyFriendlyName render specular MPropertySuppressExpr m_nLightType == PARTICLE_LIGHT_TYPE_FX
0x1670m_lightCookieCUtlStringMPropertyFriendlyName light cookie string
0x1678m_nPriorityint32MPropertyFriendlyName light priority
0x167cm_nFogLightingModeParticleLightFogLightingMode_tMPropertyFriendlyName fog lighting mode MPropertySuppressExpr m_nLightType == PARTICLE_LIGHT_TYPE_FX
0x1680m_flFogContributionCParticleCollectionRendererFloatInputMPropertyFriendlyName fog contribution MPropertySuppressExpr m_nLightType == PARTICLE_LIGHT_TYPE_FX
0x17f8m_nCapsuleLightBehaviorParticleLightBehaviorChoiceList_tMPropertyFriendlyName capsule behavior
0x17fcm_flCapsuleLengthfloat32MPropertyFriendlyName capsule length MPropertyStartGroup Capsule Light Controls MPropertySuppressExpr m_nCapsuleLightBehavior == PARTICLE_LIGHT_BEHAVIOR_ROPE || m_nCapsuleLightBehavior == PARTICLE_LIGHT_BEHAVIOR_TRAILS
0x1800m_bReverseOrderboolMPropertyFriendlyName reverse point order MPropertySuppressExpr m_nCapsuleLightBehavior == PARTICLE_LIGHT_BEHAVIOR_FOLLOW_DIRECTION || m_nCapsuleLightBehavior == PARTICLE_LIGHT_BEHAVIOR_TRAILS
0x1801m_bClosedLoopboolMPropertyFriendlyName Closed loop MPropertySuppressExpr m_nCapsuleLightBehavior == PARTICLE_LIGHT_BEHAVIOR_FOLLOW_DIRECTION || m_nCapsuleLightBehavior == PARTICLE_LIGHT_BEHAVIOR_TRAILS
0x1804m_nPrevPntSourceParticleAttributeIndex_tMPropertyAttributeChoiceName particlefield_vector MPropertyFriendlyName Anchor point source MPropertySuppressExpr m_nCapsuleLightBehavior == PARTICLE_LIGHT_BEHAVIOR_FOLLOW_DIRECTION || m_nCapsuleLightBehavior == PARTICLE_LIGHT_BEHAVIOR_ROPE
0x1808m_flMaxLengthfloat32MPropertyFriendlyName max length MPropertySuppressExpr m_nCapsuleLightBehavior == PARTICLE_LIGHT_BEHAVIOR_FOLLOW_DIRECTION || m_nCapsuleLightBehavior == PARTICLE_LIGHT_BEHAVIOR_ROPE
0x180cm_flMinLengthfloat32MPropertyFriendlyName min length MPropertySuppressExpr m_nCapsuleLightBehavior == PARTICLE_LIGHT_BEHAVIOR_FOLLOW_DIRECTION || m_nCapsuleLightBehavior == PARTICLE_LIGHT_BEHAVIOR_ROPE
0x1810m_bIgnoreDTboolMPropertyFriendlyName ignore delta time MPropertySuppressExpr m_nCapsuleLightBehavior == PARTICLE_LIGHT_BEHAVIOR_FOLLOW_DIRECTION || m_nCapsuleLightBehavior == PARTICLE_LIGHT_BEHAVIOR_ROPE
0x1814m_flConstrainRadiusToLengthRatiofloat32MPropertyFriendlyName constrain radius to no more than this times the length MPropertySuppressExpr m_nCapsuleLightBehavior == PARTICLE_LIGHT_BEHAVIOR_FOLLOW_DIRECTION || m_nCapsuleLightBehavior == PARTICLE_LIGHT_BEHAVIOR_ROPE
0x1818m_flLengthScalefloat32MPropertyFriendlyName amount to scale trail length by MPropertySuppressExpr m_nCapsuleLightBehavior == PARTICLE_LIGHT_BEHAVIOR_FOLLOW_DIRECTION || m_nCapsuleLightBehavior == PARTICLE_LIGHT_BEHAVIOR_ROPE
0x181cm_flLengthFadeInTimefloat32MPropertyFriendlyName how long before a trail grows to its full length MPropertySuppressExpr m_nCapsuleLightBehavior == PARTICLE_LIGHT_BEHAVIOR_FOLLOW_DIRECTION || m_nCapsuleLightBehavior == PARTICLE_LIGHT_BEHAVIOR_ROPE
KV3 class defaults

Truncated to the first 2048 bytes of 31401. The full value is in cs2_schema.json under classes[].metadata[MGetKV3ClassDefaults].

{
	"_class": "C_OP_RenderStandardLight",
	"m_flOpStrength":
	{
		"m_nType": "PF_TYPE_LITERAL",
		"m_nMapType": "PF_MAP_TYPE_DIRECT",
		"m_flLiteralValue": 1.000000,
		"m_NamedValue": "",
		"m_nControlPoint": 0,
		"m_nScalarAttribute": 3,
		"m_nVectorAttribute": 6,
		"m_nVectorComponent": 0,
		"m_bReverseOrder": false,
		"m_flRandomMin": 0.000000,
		"m_flRandomMax": 1.000000,
		"m_bHasRandomSignFlip": false,
		"m_nRandomSeed": <HIDDEN FOR DIFF>,
		"m_nRandomMode": "PF_RANDOM_MODE_CONSTANT",
		"m_strSnapshotSubset": "",
		"m_flLOD0": 0.000000,
		"m_flLOD1": 0.000000,
		"m_flLOD2": 0.000000,
		"m_flLOD3": 0.000000,
		"m_nNoiseInputVectorAttribute": 0,
		"m_flNoiseOutputMin": 0.000000,
		"m_flNoiseOutputMax": 1.000000,
		"m_flNoiseScale": 0.100000,
		"m_vecNoiseOffsetRate":
		[
			0.000000,
			0.000000,
			0.000000
		],
		"m_flNoiseOffset": 0.000000,
		"m_nNoiseOctaves": 1,
		"m_nNoiseTurbulence": "PF_NOISE_TURB_NONE",
		"m_nNoiseType": "PF_NOISE_TYPE_PERLIN",
		"m_nNoiseModifier": "PF_NOISE_MODIFIER_NONE",
		"m_flNoiseTurbulenceScale": 1.000000,
		"m_flNoiseTurbulenceMix": 0.500000,
		"m_flNoiseImgPreviewScale": 1.000000,
		"m_bNoiseImgPreviewLive": true,
		"m_flNoCameraFallback": 0.000000,
		"m_bUseBoundsCenter": false,
		"m_nInputMode": "PF_INPUT_MODE_CLAMPED",
		"m_flMultFactor": 1.000000,
		"m_flInput0": 0.000000,
		"m_flInput1": 1.000000,
		"m_flOutput0": 0.000000,
		"m_flOutput1": 1.000000,
		"m_flNotchedRangeMin": 0.000000,
		"m_flNotchedRangeMax": 1.000000,
		"m_flNotchedOutputOutside": 0.000000,
		"m_flNotchedOutputInside": 1.000000,
		"m_nRoundType": "PF_ROUND_TYPE_NEAREST",
		"m_nBiasType": "PF_BIAS_TYPE_STANDARD",
		"m_flBiasParameter": 0.000000,
		"m_Curve":
		{
			"m_spline":
			[
			],
			"m_tangents":
			[
			],
			"m_vDomainMins":
			[
				0.000000,
				0.000000
			],
			"m_vDomainMaxs":
			[
				0.000000,
				0.000000
			]
		},
		"m_flCompareValue": 0.000000
	},
	"m_nOpEndCapState": "PARTICLE_ENDCAP_ALWAYS_ON",
	"m_nToolsState": "PARTICLE_TOOLS_STATE_ALWAYS_ON",
	"m_flOpStartFadeInTime": 0.000000,

...