FRotator::GridSnap

Get the rotation, snapped to specified degree segments.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/Rotator.h

Include

#include "Math/Rotator.h"

Syntax

FRotator GridSnap
(
    const FRotator & RotGrid
) const

Remarks

Get the rotation, snapped to specified degree segments.

Returns

Snapped version of rotation.

Parameters

Parameter

Description

RotGrid

A Rotator specifying how to snap each component.

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