IGEditorUtils.

Snap(float, float) Method

Summary

Snaps the given `value` to a grid with the specified `snap` size.

Syntax

public static float Snap(float value, float snap)

Parameters

Name Type Description
value float
snap float

Return Value

Type Description
float