TargetMoveToCamera 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.
public ref class TargetMoveToCamera : Microsoft::MixedReality::Toolkit::Input::BaseEyeFocusHandler
[UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/TargetMoveToCamera")]
[UnityEngine.RequireComponent(typeof(Microsoft.MixedReality.Toolkit.Input.EyeTrackingTarget))]
public class TargetMoveToCamera : Microsoft.MixedReality.Toolkit.Input.BaseEyeFocusHandler
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/TargetMoveToCamera")>]
[<UnityEngine.RequireComponent(typeof(Microsoft.MixedReality.Toolkit.Input.EyeTrackingTarget))>]
type TargetMoveToCamera = class
inherit BaseEyeFocusHandler
Public Class TargetMoveToCamera
Inherits BaseEyeFocusHandler
- Inheritance
- Attributes
-
UnityEngine.AddComponentMenuAttribute UnityEngine.RequireComponentAttribute
Focus |
Is focus enabled for this Component? (Inherited from BaseFocusHandler) |
Focusers |
The list of IMixedRealityPointers that are currently focused on this GameObject (Inherited from BaseFocusHandler) |
Has |
Does this object currently have focus by any IMixedRealityPointer? (Inherited from BaseFocusHandler) |
On |
(Inherited from BaseEyeFocusHandler) |
On |
Triggered once the eye gaze ray has intersected with this target's collider for a specified amount of time. (Inherited from BaseEyeFocusHandler) |
On |
Triggered once the eye gaze ray starts intersecting with this target's collider. (Inherited from BaseEyeFocusHandler) |
On |
Triggered while the eye gaze ray is intersecting with this target's collider. (Inherited from BaseEyeFocusHandler) |
On |
|
On |
Focus event that is raised when the focused object is changed. (Inherited from BaseFocusHandler) |
On |
The Focus Enter event is raised on this GameObject whenever a IMixedRealityPointer's focus enters this GameObject's Collider. (Inherited from BaseFocusHandler) |
On |
The Focus Exit event is raised on this GameObject whenever a IMixedRealityPointer's focus leaves this GameObject's Collider. (Inherited from BaseFocusHandler) |
On |
|
Return |
|
Transition |
|
Update() |
Продукт | Версии |
---|---|
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 |