FWalkableSlopeOverride

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

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h

Include

#include "Engine/EngineTypes.h"

Syntax

struct FWalkableSlopeOverride

Remarks

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

Variables

Name Description

Public variable

float

 

WalkableSlopeAngle

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

Public variable

TEnumAsByte< EW...

 

WalkableSlopeBehavior

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

Constructors

Name Description

Public function

FWalkableSlopeOverride()

Public function

FWalkableSlopeOverride

(
    EWalkableSlopeBehavior NewSlopeBeha...,
    float NewSlopeAngle
)

Functions

Name Description

Public function Const

float

 

GetWalkableSlopeAngle()

Gets the slope angle used for the override behavior.

Public function Const

EWalkableSlo...

 

GetWalkableSlopeBehavior()

Gets the slope override behavior.

Public function Const

float

 

ModifyWalkableFloorZ

(
    float InWalkableFloorZ
)

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

Public function

void

 

SetWalkableSlopeAngle

(
    float NewSlopeAngle
)

Set the slope angle used for the override behavior.

Public function

void

 

SetWalkableSlopeBehavior

(
    EWalkableSlopeBehavior NewSlopeBeha...
)

Set the slope override behavior.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss