CreateAttachmentFromVertexOpts_t
CS2 build 27045800 · Steam date 2026-11-30 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 32 bytes (0x20)Alignment: 8 bytesModule: modeldoc_editorBinary: !GlobalTypes
Metadata: MPropertyDescription Options for creating an attachment from a mesh vertex. MPropertyElementNameFn
Relationships
Inherits from: nothing; this is a root class.
Inheritance tree
- CreateAttachmentFromVertexOpts_t
Memory layout
6 fields, 6 declared here and 0 inherited. Offsets are absolute from the object base on windows-x86_64.
CreateAttachmentFromVertexOpts_t
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x0 | m_Name | CUtlString | MPropertyFlattenIntoParentRow MPropertyReadOnly | |
0x8 | m_AttachmentName | CUtlString | MPropertyDescription Base name for the created attachment. A unique suffix is appended if needed. MPropertyFriendlyName Attachment Name | |
0x10 | m_eAlignMode | VertexAttachmentAlignModeSchema_t | MPropertyDescription How the created attachment is oriented. MPropertyFriendlyName Alignment | |
0x14 | m_nMaxInfluences | int32 | MPropertyDescription Maximum number of bone influences to copy (1-3). A vertex can have more, but attachments support at most 3. MPropertyFriendlyName Max Influences | |
0x18 | m_bShowPreview | bool | MPropertyDescription Draw the nearby-vertex point cloud while hovering. Turn off if the attachment axis preview alone is enough. MPropertyFriendlyName Show Vertex Preview | |
0x19 | m_bHideConfigModels | bool | MPropertyDescription Temporarily turn off Show Config during placement. Config/SpawnConfig attached models can never be picked by this tool, so they only obscure the mesh. MPropertyFriendlyName Hide Config Models |
KV3 class defaults
{
"m_Name": "Create Attachment From Vertex Options",
"m_AttachmentName": "attach",
"m_eAlignMode": "VTX_ATTACH_ALIGN_NORMAL",
"m_nMaxInfluences": 3,
"m_bShowPreview": true,
"m_bHideConfigModels": true
}