IGEditorUtils.

SnapRotation(Quaternion) Method

Summary

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

Syntax

public static Quaternion SnapRotation(Quaternion rotation)

Parameters

Name Type Description
rotation Quaternion

Return Value

Type Description
Quaternion