FSnappingUtils::SnapRotatorToGrid

Snaps a rotator to the rotational grid

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/SnappingUtils.h

Include

#include "SnappingUtils.h"

Source

/Engine/Source/Editor/UnrealEd/Private/SnappingUtils.cpp

Syntax

static void SnapRotatorToGrid
(
    FRotator & Rotation
)

Remarks

Snaps a rotator to the rotational grid

Parameters

Parameter

Description

Rotation

The rotator to snap. This value will be modified to account for snapping

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