MoveObjByEyeGaze Class
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.
C++
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 IMixedRealityHandJointHandler
Public Class MoveObjByEyeGaze
Inherits MonoBehaviour
Implements IEventSystemHandler, IMixedRealityHandJointHandler, IMixedRealityPointerHandler, IMixedRealitySourceStateHandler, IMixedRealitySpeechHandler
- Inheritance
-
UnityEngine.MonoBehaviourMoveObjByEyeGaze
- Attributes
-
UnityEngine.AddComponentMenuAttribute
- Implements
-
IMixedRealityBaseInputHandler IMixedRealityHandJointHandler IMixedRealityPointerHandler IMixedRealitySourceStateHandler IMixedRealitySpeechHandler Unity
Engine. Event Systems. IEvent System Handler
Angle_Initial |
Compute the angle between the initial (when selecting the target) and current eye gaze direction. |
Angle_To |
Compute angle between target center ( OR original targeting location??? ) and current targeting direction |
Constrain |
|
Drag |
Finalize placing the currently selected target. |
Drag |
Begin with the selection and movement of the focused target. |
Move |
|
Move |
|
On |
Продукт | Версии |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |