SSpinBox::Snap

Snaps value to a nearest grid multiple. Clamps value if it's outside numeric range

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Input/SSpinBox.h

Include

#include "Widgets/Input/SSpinBox.h"

Syntax

static double Snap
(
    double InValue,
    double InGrid
)

Remarks

Snaps value to a nearest grid multiple. Clamps value if it's outside numeric range

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