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
CSmartPropModifier
CSmartPropFilter
- CSmartPropFilter_SurfaceAngle
Relationship diagram (2 edges)
classDiagram
CSmartPropModifier <|-- CSmartPropFilter
CSmartPropFilter <|-- CSmartPropFilter_SurfaceAngleMemory layout
3 fields, 2 declared here and 1 inherited. Offsets are absolute from the object base on windows-x86_64.
CSmartPropModifierCSmartPropFilter_SurfaceAngle
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_bEnabled | CSmartPropAttributeBool | CSmartPropModifier | MVDataEnableKey |
0x50 | m_flSurfaceSlopeMin | CSmartPropAttributeFloat | MPropertyDescription 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). | |
0x90 | m_flSurfaceSlopeMax | CSmartPropAttributeFloat | MPropertyDescription 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
}