Starting/ModelExplorer/Assets/HoloToolkit/Input/Scripts/HandGuidance.cs
/// <summary>
/// If this hand is being tracked, display an indicator at the hand's current position.
/// This indicator will show what direction the user should move their hand to increase their guidance score.
/// </summary>
/// <param name="hand">The hand being tracked.</param>
If this hand is being tracked, display an indicator at the hand's current position.
This indicator will show what direction the user should move their hand to increase their guidance score.
If this hand is being tracked display an indicator at the hand ' s current position . This indicator will show what direction the user should move their hand to increase their guidance score .
private void ShowHandGuidanceIndicator(InteractionSourceState hand)
    {
        if (!currentlyTrackedHand.HasValue)
        {
            return;
        }
        if (handGuidanceIndicatorGameObject != null)
        {
            Vector3 position;
            Quaternion rotation;
            GetIndicatorPositionAndRotation(hand, out position, out rotation);
            handGuidanceIndicatorGameObject.transform.position = position;
            handGuidanceIndicatorGameObject.transform.rotation = rotation * defaultHandGuidanceRotation;
            handGuidanceIndicatorGameObject.SetActive(true);
        }
    }
private void ShowHandGuidanceIndicator ( InteractionSourceState hand ) { if ( ! currentlyTrackedHand . HasValue ) { return ; } if ( handGuidanceIndicatorGameObject != null ) { Vector3 position ; Quaternion rotation ; GetIndicatorPositionAndRotation ( hand , out position , out rotation ) ; handGuidanceIndicatorGameObject . transform . position = position ; handGuidanceIndicatorGameObject . transform . rotation = rotation * defaultHandGuidanceRotation ; handGuidanceIndicatorGameObject . SetActive ( true ) ; } }
If this hand is being tracked, display an indicator at the hand's current position.
If this hand is being tracked display an indicator at the hand ' s current position .
hand
InteractionSourceState
The hand being tracked.
The hand being tracked .