Skip to content

RnCapsuleDesc_t

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

Kind: classSize: 56 bytes (0x38)Alignment: 8 bytesModule: physicslibBinary: !GlobalTypes

Relationships

Inherits from: RnShapeDesc_t

Used by (1) as a field type

Inheritance tree
Relationship diagram (2 edges)
classDiagram
    RnShapeDesc_t <|-- RnCapsuleDesc_t
    RnCapsuleDesc_t *-- RnCapsule_t
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

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

RnShapeDesc_tRnCapsuleDesc_t

OffsetFieldTypeFromAnnotations
0x0m_nCollisionAttributeIndexuint32RnShapeDesc_t
0x4m_nSurfacePropertyIndexuint32RnShapeDesc_t
0x8m_UserFriendlyNameCUtlStringRnShapeDesc_t
0x10m_bUserFriendlyNameSealedboolRnShapeDesc_t
0x11m_bUserFriendlyNameLongboolRnShapeDesc_t
0x14m_nToolMaterialHashuint32RnShapeDesc_t
0x18m_CapsuleRnCapsule_t
KV3 class defaults
{
	"m_nCollisionAttributeIndex": 0,
	"m_nSurfacePropertyIndex": 0,
	"m_UserFriendlyName": "",
	"m_bUserFriendlyNameSealed": false,
	"m_bUserFriendlyNameLong": false,
	"m_nToolMaterialHash": 0,
	"m_Capsule":
	{
		"m_vCenter":
		[
			[
				0.000000,
				0.000000,
				0.000000
			],
			[
				0.000000,
				0.000000,
				0.000000
			]
		],
		"m_flRadius": 0.000000
	}
}