Handles.RotationHandle Manual     Reference     Scripting  
Scripting > Editor Classes > Handles
Handles.RotationHandle

static function RotationHandle (rotation : Quaternion, position : Vector3) : Quaternion

Parameters

NameDescription
rotation Orientation of the handle
position Center of the handle in 3D space

Returns

Quaternion - the modified rotation

Description

Make a Scene view rotation handle.

This will behave like the built-in rotation tool in Unity. If you have assigned something to Undo.SetSnapshotInfo, it will work fully with Undo.