ParticleAttachment Enum
The ParticleAttachment enum defines the various attachment points and methods used for particle effects in Dota 2.
Enum Values
| Name | Value | Description |
|---|---|---|
PATTACH_INVALID | -1 | Represents an invalid attachment. |
PATTACH_ABSORIGIN | 0 | Attaches the particle to the absolute origin of the entity. |
PATTACH_ABSORIGIN_FOLLOW | 1 | Attaches the particle to the absolute origin and follows the entity. |
PATTACH_CUSTOMORIGIN | 2 | Uses a custom origin for the particle attachment. |
PATTACH_CUSTOMORIGIN_FOLLOW | 3 | Uses a custom origin for the particle and follows the entity. |
PATTACH_POINT | 4 | Attaches the particle to a specific point on the entity. |
PATTACH_POINT_FOLLOW | 5 | Attaches the particle to a specific point and follows the entity. |
PATTACH_EYES_FOLLOW | 6 | Attaches the particle to the eyes of the entity and follows it. |
PATTACH_OVERHEAD_FOLLOW | 7 | Attaches the particle overhead and follows the entity. |
PATTACH_WORLDORIGIN | 8 | Attaches the particle to the world origin. |
PATTACH_ROOTBONE_FOLLOW | 9 | Attaches the particle to the root bone of the entity and follows it. |
PATTACH_RENDERORIGIN_FOLLOW | 10 | Attaches the particle to the render origin and follows the entity. |
PATTACH_MAIN_VIEW | 11 | Attaches the particle to the player's main view. |
PATTACH_WATERWAKE | 12 | Attaches the particle to create a water wake effect. |
PATTACH_CENTER_FOLLOW | 13 | Attaches the particle to the center of the entity and follows it. |
PATTACH_CUSTOM_GAME_STATE_1 | 14 | Custom game state attachment point. |
MAX_PATTACH_TYPES | 15 | Represents the total number of particle attachment types. |