> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "CNmMaterialAttributeEvent"
navbar: dynamic
asidebar: hide
---
# CNmMaterialAttributeEvent

Schema class in module `animlib`.

## Summary

- Kind: `class`
- Module: `animlib`
- Size: `304 (0x0130)`
- Size bytes: `304`
- Parent: `CNmEvent`
- Inherited fields: `3`
- Product: Counter-Strike 2

## Inheritance

- [CNmEvent](/cs2/dumped_data/schema/animlib/CNmEvent) (class)
- [value.DeclaredClass](/cs2/api_reference/engine/value#valuedeclaredclass) (class)

## Own Fields

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `m_target` | [CNmEventTargetEntity\_t](/cs2/dumped_data/schema/animlib/CNmEventTargetEntity_t) | 24 (0x18) | - | - | - |
| `m_attributeName` | [string](/cs2/api_reference/lua/base#string) | 32 (0x20) | - | - | - |
| `m_attributeNameToken` | [string](/cs2/api_reference/lua/base#string)\|[integer](/cs2/api_reference/lua/base#integer) | 40 (0x28) | - | - | - |
| `m_x` | [value.View](/cs2/api_reference/engine/value#valueview) | 48 (0x30) | - | - | - |
| `m_y` | [value.View](/cs2/api_reference/engine/value#valueview) | 112 (0x70) | - | - | - |
| `m_z` | [value.View](/cs2/api_reference/engine/value#valueview) | 176 (0xB0) | - | - | - |
| `m_w` | [value.View](/cs2/api_reference/engine/value#valueview) | 240 (0xF0) | - | - | - |

## Inherited Fields From CNmEvent

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `m_flStartTime` | [NmPercent\_t](/cs2/dumped_data/schema/animlib/NmPercent_t) | 8 (0x08) | - | - | - |
| `m_flDuration` | [NmPercent\_t](/cs2/dumped_data/schema/animlib/NmPercent_t) | 12 (0x0C) | - | - | - |
| `m_syncID` | [string](/cs2/api_reference/lua/base#string) | 16 (0x10) | - | - | - |

