UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FWalkableSlopeOverride Struct Reference

#include <EngineTypes.h>

Public Member Functions

 FWalkableSlopeOverride ()
 
 FWalkableSlopeOverride (EWalkableSlopeBehavior NewSlopeBehavior, float NewSlopeAngle)
 
EWalkableSlopeBehavior GetWalkableSlopeBehavior () const
 
float GetWalkableSlopeAngle () const
 
void SetWalkableSlopeBehavior (EWalkableSlopeBehavior NewSlopeBehavior)
 
void SetWalkableSlopeAngle (float NewSlopeAngle)
 
float ModifyWalkableFloorZ (float InWalkableFloorZ) const
 

Public Attributes

TEnumAsByte< EWalkableSlopeBehaviorWalkableSlopeBehavior
 
float WalkableSlopeAngle
 

Detailed Description

Struct allowing control over "walkable" normals, by allowing a restriction or relaxation of what steepness is normally walkable.

Constructor & Destructor Documentation

◆ FWalkableSlopeOverride() [1/2]

FWalkableSlopeOverride::FWalkableSlopeOverride ( )
inline

◆ FWalkableSlopeOverride() [2/2]

FWalkableSlopeOverride::FWalkableSlopeOverride ( EWalkableSlopeBehavior  NewSlopeBehavior,
float  NewSlopeAngle 
)
inline

Member Function Documentation

◆ GetWalkableSlopeAngle()

float FWalkableSlopeOverride::GetWalkableSlopeAngle ( ) const
inline

Gets the slope angle used for the override behavior.

◆ GetWalkableSlopeBehavior()

EWalkableSlopeBehavior FWalkableSlopeOverride::GetWalkableSlopeBehavior ( ) const
inline

Gets the slope override behavior.

◆ ModifyWalkableFloorZ()

float FWalkableSlopeOverride::ModifyWalkableFloorZ ( float  InWalkableFloorZ) const
inline

Given a walkable floor normal Z value, either relax or restrict the value if we override such behavior.

◆ SetWalkableSlopeAngle()

void FWalkableSlopeOverride::SetWalkableSlopeAngle ( float  NewSlopeAngle)
inline

Set the slope angle used for the override behavior.

◆ SetWalkableSlopeBehavior()

void FWalkableSlopeOverride::SetWalkableSlopeBehavior ( EWalkableSlopeBehavior  NewSlopeBehavior)
inline

Set the slope override behavior.

Member Data Documentation

◆ WalkableSlopeAngle

float FWalkableSlopeOverride::WalkableSlopeAngle

Override walkable slope angle (in degrees), applying the rules of the Walkable Slope Behavior.

See also
GetWalkableSlopeAngle(), SetWalkableSlopeAngle()

◆ WalkableSlopeBehavior

TEnumAsByte<EWalkableSlopeBehavior> FWalkableSlopeOverride::WalkableSlopeBehavior

Behavior of this surface (whether we affect the walkable slope).

See also
GetWalkableSlopeBehavior(), SetWalkableSlopeBehavior()

The documentation for this struct was generated from the following file: