Skip to content

CDecalInstance

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

Kind: classSize: 264 bytes (0x108)Alignment: 8 bytesModule: serverBinary: !GlobalTypes

Relationships

Inherits from: nothing; this is a root class.

Inheritance tree
  • CDecalInstance
Relationship diagram (3 edges)
classDiagram
    CDecalInstance *-- InfoForResourceTypeIMaterial2
    CDecalInstance --> CBaseEntity
    CDecalInstance *-- GameTime_t
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

28 fields, 28 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.

CDecalInstance

OffsetFieldTypeFromAnnotations
0x0m_sDecalGroupCGlobalSymbol
0x8m_hMaterialCStrongHandle< InfoForResourceTypeIMaterial2 >
0x10m_sSequenceNameCUtlStringToken
0x14m_hEntityCHandle< CBaseEntity >
0x18m_nBoneIndexint32
0x1cm_nTriangleIndexint32
0x20m_vPositionLSVector
0x2cm_vPositionOSVector
0x38m_vNormalLSVector
0x44m_vNormalOSVector
0x50m_vSAxisLSVector
0x5cm_nFlagsDecalFlags_t
0x60m_ColorColor
0x64m_flWidthfloat32
0x68m_flHeightfloat32
0x6cm_flDepthfloat32
0x70m_mTransformmatrix3x4_t
0xa0m_mLocalToTrianglematrix3x4_t
0xd0m_flAnimationScalefloat32
0xd4m_flAnimationStartTimefloat32
0xd8m_flPlaceTimeGameTime_t
0xdcm_flFadeStartTimefloat32
0xe0m_flFadeDurationfloat32
0xe4m_flLightingOriginOffsetfloat32
0xf8m_flBoundingRadiusSqrfloat32
0xfcm_nSequenceIndexint16MNotSaved
0xfem_bIsAdjacentboolMNotSaved
0xffm_bDoDecalLightmappingbool
KV3 class defaults
{
	"m_sDecalGroup": "",
	"m_hMaterial": "",
	"m_sSequenceName": "",
	"m_hEntity": null,
	"m_nBoneIndex": -1,
	"m_nTriangleIndex": -1,
	"m_vPositionLS":
	[
		0.000000,
		0.000000,
		0.000000
	],
	"m_vPositionOS":
	[
		0.000000,
		0.000000,
		0.000000
	],
	"m_vNormalLS":
	[
		0.000000,
		0.000000,
		0.000000
	],
	"m_vNormalOS":
	[
		0.000000,
		0.000000,
		0.000000
	],
	"m_vSAxisLS":
	[
		340282346638528859811704183484516925440.000000,
		340282346638528859811704183484516925440.000000,
		340282346638528859811704183484516925440.000000
	],
	"m_nFlags": "",
	"m_Color":
	[
		0,
		0,
		0,
		0
	],
	"m_flWidth": 0.000000,
	"m_flHeight": 0.000000,
	"m_flDepth": 0.000000,
	"m_mTransform":
	[
		0.000000,
		0.000000,
		0.000000,
		0.000000,
		0.000000,
		0.000000,
		0.000000,
		0.000000,
		0.000000,
		0.000000,
		0.000000,
		0.000000
	],
	"m_mLocalToTriangle":
	[
		1.000000,
		0.000000,
		0.000000,
		0.000000,
		0.000000,
		1.000000,
		0.000000,
		0.000000,
		0.000000,
		0.000000,
		1.000000,
		0.000000
	],
	"m_flAnimationScale": 0.000000,
	"m_flAnimationStartTime": 0.000000,
	"m_flPlaceTime": null,
	"m_flFadeStartTime": 0.000000,
	"m_flFadeDuration": 0.000000,
	"m_flLightingOriginOffset": 0.000000,
	"m_flBoundingRadiusSqr": 0.000000,
	"m_bDoDecalLightmapping": false
}