drawminmaxrotationspan - eisclimber/ExPresS-XR GitHub Wiki
GizmoUtils.DrawMinMaxRotationSpan(Quaternion,Quaternion,Color,Color,Color,Vector3,Vector3,Vector3,Transform,string,string)
Method in GizmoUtils
Draws an span between two rotations (minimum and maximum) with a marker at each end.
public static void DrawMinMaxRotationSpan(Quaternion minRotation, Quaternion maxRotation, Color minColor, Color maxColor, Color spanColor, Vector3 localOffset, Vector3 localNormal, Vector3 localForward, Transform atTransform = null, string minLabel = "", string maxLabel = "")| Name | Description |
|---|---|
UnityEngine.Quaternion minRotation |
Minimum rotation. |
UnityEngine.Quaternion maxRotation |
Minimum rotation. |
UnityEngine.Color minColor |
Color of the minimum marker. |
UnityEngine.Color maxColor |
Color of the maximum marker. |
UnityEngine.Color spanColor |
Color of the span between min and max. |
UnityEngine.Vector3 localOffset |
Pivot offset of the angle. |
UnityEngine.Vector3 localNormal |
Normal of the plane where the markers are placed. |
UnityEngine.Vector3 localForward |
Direction in the which the angle arc is oriented. |
UnityEngine.Transform atTransform |
Transform context to draw the gizmo. |
string minLabel |
Text label to draw at the min position. |
string maxLabel |
Text label to draw at the max position. |