MoveObjByEyeGaze Class   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public ref class MoveObjByEyeGaze : UnityEngine::MonoBehaviour, Microsoft::MixedReality::Toolkit::Input::IMixedRealityHandJointHandler, Microsoft::MixedReality::Toolkit::Input::IMixedRealityPointerHandler, Microsoft::MixedReality::Toolkit::Input::IMixedRealitySourceStateHandler, Microsoft::MixedReality::Toolkit::Input::IMixedRealitySpeechHandler, UnityEngine::EventSystems::IEventSystemHandler[UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/MoveObjByEyeGaze")]
public class MoveObjByEyeGaze : UnityEngine.MonoBehaviour, Microsoft.MixedReality.Toolkit.Input.IMixedRealityHandJointHandler, Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointerHandler, Microsoft.MixedReality.Toolkit.Input.IMixedRealitySourceStateHandler, Microsoft.MixedReality.Toolkit.Input.IMixedRealitySpeechHandler, UnityEngine.EventSystems.IEventSystemHandler[<UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/MoveObjByEyeGaze")>]
type MoveObjByEyeGaze = class
    inherit MonoBehaviour
    interface IMixedRealitySpeechHandler
    interface IMixedRealityBaseInputHandler
    interface IEventSystemHandler
    interface IMixedRealitySourceStateHandler
    interface IMixedRealityPointerHandler
    interface IMixedRealityHandJointHandlerPublic Class MoveObjByEyeGaze
Inherits MonoBehaviour
Implements IEventSystemHandler, IMixedRealityHandJointHandler, IMixedRealityPointerHandler, IMixedRealitySourceStateHandler, IMixedRealitySpeechHandler- Inheritance
- 
				UnityEngine.MonoBehaviourMoveObjByEyeGaze
- Attributes
- 
			UnityEngine.AddComponentMenuAttribute
- Implements
- 
		IMixedRealityBaseInputHandler IMixedRealityHandJointHandler IMixedRealityPointerHandler IMixedRealitySourceStateHandler IMixedRealitySpeechHandler UnityEngine.EventSystems.IEventSystemHandler
Constructors
| MoveObjByEyeGaze() | 
Fields
| LocalMinMax_X | |
| LocalMinMax_Y | |
| LocalMinMax_Z | |
| PlacementSurface | 
Methods
| Angle_InitialGazeToCurrGazeDir() | Compute the angle between the initial (when selecting the target) and current eye gaze direction. | 
| Angle_ToCurrHitTarget(GameObject) | Compute angle between target center ( OR original targeting location??? ) and current targeting direction | 
| ConstrainMovement() | |
| DragAndDrop_Finish() | Finalize placing the currently selected target. | 
| DragAndDrop_Start() | Begin with the selection and movement of the focused target. | 
| MoveTargetBy(Vector3) | |
| MoveTargetTo(Vector3) | |
| OnDrop_SnapToClosestDecimal() | |