Skip to content

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
Relationship diagram (3 edges)
classDiagram
    CSmartPropElement <|-- CSmartPropElement_Group
    CSmartPropElement_Group <|-- CSmartPropElement_Deformer
    CSmartPropElement_Deformer <|-- CSmartPropElement_BendDeformer
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

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

CSmartPropElementCSmartPropElement_GroupCSmartPropElement_BendDeformer

OffsetFieldTypeFromAnnotations
0x8m_nElementIDint32CSmartPropElementMPropertySuppressField MVDataUniqueMonotonicInt _editor/next_element_id
0x10m_bEnabledCSmartPropAttributeBoolCSmartPropElementMPropertyDescription Is this element enabled? If not enabled, this element will not be evaluted and will have no effect on the result. MPropertySortPriority 10 MVDataEnableKey
0x50m_sLabelCUtlStringCSmartPropElementMPropertyDescription Optional text that will appear in the outliner to help organize Smart Prop elements and communicate their purpose to other users. MPropertyFriendlyName Label
0x58m_SelectionCriteriaCUtlVector< CSmartPropSelectionCriteria* >CSmartPropElementMPropertyFriendlyName Selection Criteria MVDataPromoteField 2
0x70m_ModifiersCUtlVector< CSmartPropModifier* >CSmartPropElementMPropertyFriendlyName Modifiers MVDataPromoteField 2
0x88m_ChildrenCUtlVector< CSmartPropElement* >CSmartPropElement_GroupMPropertyDescription List of child elements which will appear if this element appears MPropertyFriendlyName Children MVDataPromoteField 1
0xa0m_bDeformationEnabledCSmartPropAttributeBoolMPropertyDescription 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
0xe0m_vOriginCSmartPropAttributeVectorMPropertyDescription A local offset to apply to the base volume of the deformer that will not apply to its children. MPropertyFriendlyName Origin
0x120m_vAnglesCSmartPropAttributeAnglesMPropertyDescription 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
0x160m_vSizeCSmartPropAttributeVectorMPropertyDescription Size of the base volume to be deformed. MPropertyFriendlyName Dimensions
0x1a0m_flBendAngleCSmartPropAttributeFloatMPropertyDescription Bend amount to apply, specified in degrees. Bend occurs along the local x-axis and bends around the local z-axis MPropertyFriendlyName Bend Angle
0x1e0m_flBendPointCSmartPropAttributeFloatMPropertyDescription [ 0, 1 ] Value specifying the location along the local x-axis the bend will occur around MPropertyFriendlyName Bend Point
0x220m_flBendRadiusCSmartPropAttributeFloatMPropertyDescription 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
}