FVector::GridSnap

Gets a copy of this vector snapped to a grid.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Vector.h"

Syntax

FVector GridSnap
(
    const float & GridSz
) const

Remarks

Gets a copy of this vector snapped to a grid.

Returns

A copy of this vector snapped to a grid.

Parameters

Parameter

Description

GridSz

Grid dimension.

See Also

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