Editar

Compartilhar via


ConeCastGazeProvider Class

Definition

public ref class ConeCastGazeProvider : Microsoft::MixedReality::Toolkit::Input::GazeProvider
public class ConeCastGazeProvider : Microsoft.MixedReality.Toolkit.Input.GazeProvider
type ConeCastGazeProvider = class
    inherit GazeProvider
Public Class ConeCastGazeProvider
Inherits GazeProvider
Inheritance
UnityEngine.MonoBehaviour
ConeCastGazeProvider

Constructors

ConeCastGazeProvider()

Properties

Enabled

Enable or disable the Component attached to the GameObjectReference

(Inherited from GazeProvider)
GameObjectReference

Get the GameObject reference for this Gaze Provider.

(Inherited from GazeProvider)
GazeCursor

The Gaze Cursor for the provider.

(Inherited from GazeProvider)
GazeCursorPrefab

The prefab to be instantiated as the gaze cursor.

(Inherited from GazeProvider)
GazeDirection

Normal of the gaze.

(Inherited from GazeProvider)
GazeInputSource UnityEngine.MonoBehaviour.GazeInputSource
GazeOrigin

Origin of the gaze.

(Inherited from GazeProvider)
GazePointer
GazeTarget

The game object that is currently being gazed at, if any.

(Inherited from GazeProvider)
HeadMovementDirection

The current head movement direction.

(Inherited from GazeProvider)
HeadVelocity

The current head velocity.

(Inherited from GazeProvider)
HitInfo

HitInfo property gives access to information at the object being gazed at, if any.

(Inherited from GazeProvider)
HitNormal

Normal of the point at which the gaze manager hit an object. If no object is currently being hit, this will return the previous normal.

(Inherited from GazeProvider)
HitPosition

Position at which the gaze manager hit an object. If no object is currently being hit, this will use the last hit distance.

(Inherited from GazeProvider)
IsEyeCalibrationValid

Whether the user is eye calibrated. It returns 'null', if the value has not yet received data from the eye tracking system.

(Inherited from GazeProvider)
IsEyeTrackingDataValid

Whether eye tracking data is available. It may be unavailable due to timeout or lack of tracking hardware or permissions.

(Inherited from GazeProvider)
IsEyeTrackingEnabled

If true, eye-based tracking will be used when available. This field does not control whether eye tracking data is provided.

(Inherited from GazeProvider)
IsEyeTrackingEnabledAndValid

Whether eye tracking data is currently been used for gaze rather then head pose. Eye Tracking must be both enabled and have valid data.

(Inherited from GazeProvider)
LatestEyeGaze

The most recent eye tracking ray

(Inherited from GazeProvider)
overrideHeadForward (Inherited from GazeProvider)
overrideHeadPosition (Inherited from GazeProvider)
Timestamp

DateTime in UTC when the signal was last updated.

(Inherited from GazeProvider)
UseHeadGazeOverride

If true, platform-specific head gaze override is used, when available. Otherwise, the center of the camera frame is used by default.

(Inherited from GazeProvider)

Methods

EnsureInputSystemValid()

A task that will only complete when the input system has in a valid state.

(Inherited from InputSystemGlobalHandlerListener)
OnDisable() (Inherited from GazeProvider)
OnEnable() (Inherited from GazeProvider)
OnInputDown(InputEventData) UnityEngine.MonoBehaviour.OnInputDown(Microsoft.MixedReality.Toolkit.Input.InputEventData)
OnInputUp(InputEventData) UnityEngine.MonoBehaviour.OnInputUp(Microsoft.MixedReality.Toolkit.Input.InputEventData)
OverrideHeadGaze(Vector3, Vector3)

Allows head gaze to be overridden, typically by platform-specific values.

(Inherited from GazeProvider)
RegisterHandlers()

Overload this method to specify, which global events component wants to listen to. Use RegisterHandler API of InputSystem

(Inherited from GazeProvider)
SetGazeCursor(GameObject)

Set the gaze cursor.

(Inherited from GazeProvider)
Start() (Inherited from GazeProvider)
UnregisterHandlers()

Overload this method to specify, which global events component should stop listening to. Use UnregisterHandler API of InputSystem

(Inherited from GazeProvider)
UpdateEyeGaze(IMixedRealityEyeGazeDataProvider, Ray, DateTime)

Tells the eye gaze provider that eye gaze has updated.

(Inherited from GazeProvider)
UpdateEyeTrackingStatus(IMixedRealityEyeGazeDataProvider, Boolean)

Tells the eye gaze provider about the eye tracking status (e.g., whether the user is calibrated);

(Inherited from GazeProvider)
UpdateGazeInfoFromHit(MixedRealityRaycastHit)

Notifies this gaze provider of its new hit details.

(Inherited from GazeProvider)

Applies to