Skip to content

CSmartPropVariable_Vector4D

CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json

Kind: classSize: 72 bytes (0x48)Alignment: 8 bytesModule: smartpropsBinary: !GlobalTypes

Metadata: MPropertyFriendlyName Vector 4D

Relationships

Inherits from: CSmartPropVariable

Inheritance tree
Relationship diagram (2 edges)
classDiagram
    CSmartPropParameter <|-- CSmartPropVariable
    CSmartPropVariable <|-- CSmartPropVariable_Vector4D
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

7 fields, 1 declared here and 6 inherited. Offsets are absolute from the object base on windows-x86_64.

CSmartPropParameterCSmartPropVariableCSmartPropVariable_Vector4D

OffsetFieldTypeFromAnnotations
0x8m_nElementIDint32CSmartPropParameterMPropertySuppressField MVDataUniqueMonotonicInt _editor/next_element_id
0x10m_VariableNameCUtlStringCSmartPropVariable
0x18m_bExposeAsParameterboolCSmartPropVariableMPropertyDescription If enabled, this value will be exposed as a parameter that can be set on the smart prop object in hammer. MPropertySortPriority -1
0x20m_DisplayNameCUtlStringCSmartPropVariableMPropertyDescription Name of the parameter which will appear as a property in the Hammer object properties ui when selecting an object using this smart prop. MPropertyFriendlyName Parameter Display Name MPropertyReadonlyExpr m_bExposeAsParameter == false MPropertySortPriority -1
0x28m_HideExpressionCUtlStringCSmartPropVariableMPropertyDescription Expression to evaluate to determine if this parameter should be hidden. Can be used to hide this parameter based on the state of other parameters. MPropertyReadonlyExpr m_bExposeAsParameter == false MPropertySortPriority -1
0x30m_ReadOnlyExpressionCUtlStringCSmartPropVariableMPropertyDescription Expression to evaluate to detemrine if this parameter should be read-only. Can be used to make this parameter read-only based on the state of other parameters. MPropertyReadonlyExpr m_bExposeAsParameter == false MPropertySortPriority -1
0x38m_DefaultValueVector4D
KV3 class defaults
{
	"_class": "CSmartPropVariable_Vector4D",
	"m_nElementID": -1,
	"m_VariableName": "",
	"m_bExposeAsParameter": false,
	"m_DisplayName": "",
	"m_HideExpression": "",
	"m_ReadOnlyExpression": "",
	"m_DefaultValue":
	[
		0.000000,
		0.000000,
		0.000000,
		0.000000
	]
}