CSmartPropElement_BendDeformer
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 608 bytes (0x260)Alignment: 8 bytesModule: smartpropsBinary: !GlobalTypes
Metadata: MPropertyDescription Creates a bend deformer that is applied to child elements. The deformation bends the local space x-axis around the local space z-axis. The Angles property can be used to rotate the local axis to change the direction of deformation. MPropertyFriendlyName Bend Deformer
Relationships
Inherits from: CSmartPropElement_Deformer
Inheritance tree
CSmartPropElement
CSmartPropElement_Group
CSmartPropElement_Deformer
- CSmartPropElement_BendDeformer
Relationship diagram (3 edges)
classDiagram
CSmartPropElement <|-- CSmartPropElement_Group
CSmartPropElement_Group <|-- CSmartPropElement_Deformer
CSmartPropElement_Deformer <|-- CSmartPropElement_BendDeformerMemory layout
13 fields, 7 declared here and 6 inherited. Offsets are absolute from the object base on windows-x86_64.
CSmartPropElementCSmartPropElement_GroupCSmartPropElement_BendDeformer
| 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_vOrigin | CSmartPropAttributeVector | MPropertyDescription A local offset to apply to the base volume of the deformer that will not apply to its children. MPropertyFriendlyName Origin | |
0x120 | m_vAngles | CSmartPropAttributeAngles | MPropertyDescription A local rotation to apply to apply the base volume of the deformer that will not apply to its children. This can be used to alter the direction of the deformation. MPropertyFriendlyName Angles | |
0x160 | m_vSize | CSmartPropAttributeVector | MPropertyDescription Size of the base volume to be deformed. MPropertyFriendlyName Dimensions | |
0x1a0 | m_flBendAngle | CSmartPropAttributeFloat | MPropertyDescription Bend amount to apply, specified in degrees. Bend occurs along the local x-axis and bends around the local z-axis MPropertyFriendlyName Bend Angle | |
0x1e0 | m_flBendPoint | CSmartPropAttributeFloat | MPropertyDescription [ 0, 1 ] Value specifying the location along the local x-axis the bend will occur around MPropertyFriendlyName Bend Point | |
0x220 | m_flBendRadius | CSmartPropAttributeFloat | MPropertyDescription Radius of the bend. If 0 the radius will be computed automatically to preserve the length of the inner edge of the x-axis. If a non-zero value is specified then the inner edge will maintain this radius, but its length will change. MPropertyFriendlyName Bend Radius |
KV3 class defaults
{
"_class": "CSmartPropElement_BendDeformer",
"m_nElementID": -1,
"m_bEnabled": true,
"m_sLabel": "",
"m_SelectionCriteria":
[
],
"m_Modifiers":
[
],
"m_Children":
[
],
"m_bDeformationEnabled": true,
"m_vOrigin":
[
0.000000,
0.000000,
0.000000
],
"m_vAngles":
[
0.000000,
0.000000,
0.000000
],
"m_vSize":
[
0.000000,
0.000000,
0.000000
],
"m_flBendAngle": 0.000000,
"m_flBendPoint": 0.000000,
"m_flBendRadius": 0.000000
}