Skip to content

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

OffsetFieldTypeFromAnnotations
0x0m_NameCUtlStringMPropertyFlattenIntoParentRow MPropertyReadOnly
0x8m_AttachmentNameCUtlStringMPropertyDescription Base name for the created attachment. A unique suffix is appended if needed. MPropertyFriendlyName Attachment Name
0x10m_eAlignModeVertexAttachmentAlignModeSchema_tMPropertyDescription How the created attachment is oriented. MPropertyFriendlyName Alignment
0x14m_nMaxInfluencesint32MPropertyDescription Maximum number of bone influences to copy (1-3). A vertex can have more, but attachments support at most 3. MPropertyFriendlyName Max Influences
0x18m_bShowPreviewboolMPropertyDescription Draw the nearby-vertex point cloud while hovering. Turn off if the attachment axis preview alone is enough. MPropertyFriendlyName Show Vertex Preview
0x19m_bHideConfigModelsboolMPropertyDescription 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
}