CLayerMask
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 24 bytes (0x18)Alignment: 8 bytesModule: resourcecompilerBinary: !GlobalTypes
Relationships
Inherits from: nothing; this is a root class.
Used by (1) as a field type
Inheritance tree
- CLayerMask
Memory layout
4 fields, 4 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.
CLayerMask
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_nLumMaskCenter | int32 | ||
0xc | m_nLumMaskWidth | int32 | ||
0x10 | m_nLumMaskShape | int32 | ||
0x14 | m_bInverted | bool |
KV3 class defaults
{
"_class": "CLayerMask",
"m_nLumMaskCenter": 128,
"m_nLumMaskWidth": 82,
"m_nLumMaskShape": 0,
"m_bInverted": false
}