FSnappingUtils::SnapPointToGrid

Snaps a point value to the positional 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 SnapPointToGrid
(
    FVector & Point,
    const FVector & GridBase
)

Remarks

Snaps a point value to the positional grid

Parameters

Parameter

Description

Point

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

GridBase

Base grid offset

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