CSmartPropElement_MidpointDeformer
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 744 bytes (0x2e8)Alignment: 8 bytesModule: smartpropsBinary: !GlobalTypes
Metadata: MPropertyDescription Soft deform the center of a volume defined by two endpoints. MPropertyFriendlyName Midpoint Deformer
Relationships
Inherits from: CSmartPropElement_Deformer
Inheritance tree
CSmartPropElement
CSmartPropElement_Group
CSmartPropElement_Deformer
- CSmartPropElement_MidpointDeformer
Relationship diagram (3 edges)
classDiagram
CSmartPropElement <|-- CSmartPropElement_Group
CSmartPropElement_Group <|-- CSmartPropElement_Deformer
CSmartPropElement_Deformer <|-- CSmartPropElement_MidpointDeformerMemory layout
16 fields, 10 declared here and 6 inherited. Offsets are absolute from the object base on windows-x86_64.
CSmartPropElementCSmartPropElement_GroupCSmartPropElement_MidpointDeformer
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_nElementID | int32 | CSmartPropElement | MPropertySuppressField MVDataUniqueMonotonicInt _editor/next_element_id |
0x10 | m_bEnabled | CSmartPropAttributeBool | CSmartPropElement | MPropertyDescription Is this element enabled? If not enabled, this element will not be evaluted and will have no effect on the result. MPropertySortPriority 10 MVDataEnableKey |
0x50 | m_sLabel | CUtlString | CSmartPropElement | MPropertyDescription Optional text that will appear in the outliner to help organize Smart Prop elements and communicate their purpose to other users. MPropertyFriendlyName Label |
0x58 | m_SelectionCriteria | CUtlVector< CSmartPropSelectionCriteria* > | CSmartPropElement | MPropertyFriendlyName Selection Criteria MVDataPromoteField 2 |
0x70 | m_Modifiers | CUtlVector< CSmartPropModifier* > | CSmartPropElement | MPropertyFriendlyName Modifiers MVDataPromoteField 2 |
0x88 | m_Children | CUtlVector< CSmartPropElement* > | CSmartPropElement_Group | MPropertyDescription List of child elements which will appear if this element appears MPropertyFriendlyName Children MVDataPromoteField 1 |
0xa0 | m_bDeformationEnabled | CSmartPropAttributeBool | MPropertyDescription Should the deformation be applied. If disabled the children will still be placed, but will not be deformed. Esentially making the element behave as a group. MPropertyFriendlyName Deformation Enabled | |
0xe0 | m_vStart | CSmartPropAttributeVector | MPropertyDescription Endpoint of deformation region. MPropertyFriendlyName Start Point | |
0x120 | m_vEnd | CSmartPropAttributeVector | MPropertyDescription Endpoint of deformation region. MPropertyFriendlyName End Point | |
0x160 | m_fRadius | CSmartPropAttributeFloat | MPropertyDescription The distance from the line formed by the endpoints that encapsulated the deformation region. MPropertyFriendlyName Effect Size | |
0x1a0 | m_bContinuousSpline | CSmartPropAttributeBool | MPropertyDescription Enables an alternate interpolation method that doesnt deform endpoint tangents. MPropertyFriendlyName Continuous Interpolation | |
0x1e0 | m_vOffset | CSmartPropAttributeVector | MPropertyDescription Offsets the center of the deformation region. MPropertyFriendlyName Midpoint Offset | |
0x220 | m_vAngles | CSmartPropAttributeAngles | MPropertyDescription Rotate the center of the deformation region. MPropertyFriendlyName Midpoint Rotation | |
0x260 | m_vScale | CSmartPropAttributeVector2D | MPropertyDescription Scale the center of the deformation region. MPropertyFriendlyName Midpoint Scale | |
0x2a0 | m_fFalloff | CSmartPropAttributeFloat | MPropertyDescription Adjust deformation falloff from the center of the region to the endpoints. MPropertyFriendlyName Falloff | |
0x2e0 | m_OutputVariable | CUtlString | MPropertyAttributeEditor SmartPropItemNameEditor( Variable:Vector ) MPropertyDescription Outputs the absolute position of the midpoint post deformation. |
KV3 class defaults
{
"_class": "CSmartPropElement_MidpointDeformer",
"m_nElementID": -1,
"m_bEnabled": true,
"m_sLabel": "",
"m_SelectionCriteria":
[
],
"m_Modifiers":
[
],
"m_Children":
[
],
"m_bDeformationEnabled": true,
"m_vStart":
[
0.000000,
0.000000,
0.000000
],
"m_vEnd":
[
0.000000,
0.000000,
0.000000
],
"m_fRadius": 64.000000,
"m_bContinuousSpline": false,
"m_vOffset":
[
0.000000,
0.000000,
0.000000
],
"m_vAngles":
[
0.000000,
0.000000,
0.000000
],
"m_vScale":
[
1.000000,
1.000000
],
"m_fFalloff": 1.000000,
"m_OutputVariable": ""
}