IGEditorUtils.

SnapRotation(Vector3) Method

Summary

Snaps the given `rotationEuler` to the nearest snap increment on all axes (as specified in Edit/Snap Settings).

Syntax

public static Vector3 SnapRotation(Vector3 rotationEuler)

Parameters

Name Type Description
rotationEuler Vector3

Return Value

Type Description
Vector3