IGEditorUtils.

SnapPosition(Vector3) Method

Summary

Snaps the given `position` to the grid (as specified in Edit/Snap Settings).

Syntax

public static Vector3 SnapPosition(Vector3 position)

Parameters

Name Type Description
position Vector3

Return Value

Type Description
Vector3