TRotator::GridSnap

Get the rotation, snapped to specified degree segments.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Math/Rotator.h"

Syntax

TRotator GridSnap
(
    const TRotator< T > & 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.