BaseEyeFocusHandler 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.
Base Component for handling Eye Focus on GameObjects.
public ref class BaseEyeFocusHandler abstract : Microsoft::MixedReality::Toolkit::Input::BaseFocusHandler
public abstract class BaseEyeFocusHandler : Microsoft.MixedReality.Toolkit.Input.BaseFocusHandler
type BaseEyeFocusHandler = class
inherit BaseFocusHandler
Public MustInherit Class BaseEyeFocusHandler
Inherits BaseFocusHandler
- Inheritance
- Derived
Constructors
BaseEyeFocusHandler() |
Properties
FocusEnabled |
Is focus enabled for this Component? (Inherited from BaseFocusHandler) |
Focusers |
The list of IMixedRealityPointers that are currently focused on this GameObject (Inherited from BaseFocusHandler) |
HasFocus |
Does this object currently have focus by any IMixedRealityPointer? (Inherited from BaseFocusHandler) |
Methods
OnBeforeFocusChange(FocusEventData) | UnityEngine.MonoBehaviour.OnBeforeFocusChange(Microsoft.MixedReality.Toolkit.Input.FocusEventData) |
OnEyeFocusDwell() |
Triggered once the eye gaze ray has intersected with this target's collider for a specified amount of time. |
OnEyeFocusStart() |
Triggered once the eye gaze ray starts intersecting with this target's collider. |
OnEyeFocusStay() |
Triggered while the eye gaze ray is intersecting with this target's collider. |
OnEyeFocusStop() |
Triggered once the eye gaze ray stops intersecting with this target's collider. |
OnFocusChanged(FocusEventData) |
Focus event that is raised when the focused object is changed. (Inherited from BaseFocusHandler) |
OnFocusEnter(FocusEventData) |
The Focus Enter event is raised on this GameObject whenever a IMixedRealityPointer's focus enters this GameObject's Collider. (Inherited from BaseFocusHandler) |
OnFocusExit(FocusEventData) |
The Focus Exit event is raised on this GameObject whenever a IMixedRealityPointer's focus leaves this GameObject's Collider. (Inherited from BaseFocusHandler) |
Update() |
Handles highlighting targets when the cursor enters its hit box. |