GizmoMath::SnapToIncrement

Round Value to nearest step of Increment

Windows
MacOS
Linux

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/BaseGizmos/GizmoMath.h

Include

#include "BaseGizmos/GizmoMath.h"

Source

/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Private/BaseGizmos/GizmoMath.cpp

Syntax

namespace GizmoMath
{
    float GizmoMath::SnapToIncrement
    (
        float Value,
        float Increment
    )
}

Remarks

Round Value to nearest step of Increment

Returns

snapped/rounded value

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