Skip to content

CSmartPropFilter_SurfaceAngle

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

Kind: classSize: 208 bytes (0xd0)Alignment: 8 bytesModule: smartpropsBinary: !GlobalTypes

Metadata: MPropertyDescription Allows the parent element to be conditionally evaluated base on the current surface angle. The surface angle is set based on the initial placement of the smart prop object, but can also be updated by the Trace to Surface modifier. MPropertyFriendlyName Filter: Surface Angles MVDataClassGroup Filter

Relationships

Inherits from: CSmartPropFilter

Inheritance tree
Relationship diagram (2 edges)
classDiagram
    CSmartPropModifier <|-- CSmartPropFilter
    CSmartPropFilter <|-- CSmartPropFilter_SurfaceAngle
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

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

CSmartPropModifierCSmartPropFilter_SurfaceAngle

OffsetFieldTypeFromAnnotations
0x8m_bEnabledCSmartPropAttributeBoolCSmartPropModifierMVDataEnableKey
0x50m_flSurfaceSlopeMinCSmartPropAttributeFloatMPropertyDescription Minimum slope on which the target will be placed. Slope is a [ 0, 180 ] value of the surface normal rotation from up such that 0 is a horizontal surface (floor), 90 is a vertical surface (wall), 180 is horizontal upside down surface (ceiling).
0x90m_flSurfaceSlopeMaxCSmartPropAttributeFloatMPropertyDescription Maximum slope on which the target will be placed.
KV3 class defaults
{
	"_class": "CSmartPropFilter_SurfaceAngle",
	"m_bEnabled": true,
	"m_flSurfaceSlopeMin": 0.000000,
	"m_flSurfaceSlopeMax": 180.000000
}