dtSelectRotation

Select a 90 degree increment value from an input angle in degree.

Windows
MacOS
Linux

References

Module

Navmesh

Header

/Engine/Source/Runtime/Navmesh/Public/Detour/DetourCommon.h

Include

#include "Detour/DetourCommon.h"

Source

/Engine/Source/Runtime/Navmesh/Private/Detour/DetourCommon.cpp

Syntax

dtRotation dtSelectRotation
(
    float rotationDeg
)

Remarks

Select a 90 degree increment value from an input angle in degree.

Returns

The rotation enum value.

Parameters

Parameter

Description

rotationDeg

The desired rotation in degree.

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