編輯

共用方式為


PerAxisHandles.GetRotationRealignment(Int32) Method

Definition

Provide the rotation alignment for a handle. This method will be called when creating the handles.

protected:
 abstract UnityEngine::Quaternion GetRotationRealignment(int handleIndex);
protected abstract UnityEngine.Quaternion GetRotationRealignment (int handleIndex);
abstract member GetRotationRealignment : int -> UnityEngine.Quaternion
Protected MustOverride Function GetRotationRealignment (handleIndex As Integer) As Quaternion

Parameters

handleIndex
Int32

Index of the handle the rotation alignment is provided for.

Returns

UnityEngine.Quaternion

Applies to