編輯

共用方式為


IMixedRealityGazeProvider Interface

Definition

Implements the Gaze Provider for an Input Source.

public interface class IMixedRealityGazeProvider
public interface IMixedRealityGazeProvider
type IMixedRealityGazeProvider = interface
Public Interface IMixedRealityGazeProvider
Derived

Properties

Enabled

Enable or disable the Component attached to the GameObjectReference

GameObjectReference

Get the GameObject reference for this Gaze Provider.

GazeCursor

The Gaze Cursor for the provider.

GazeCursorPrefab

The prefab to be instantiated as the gaze cursor.

GazeDirection

Normal of the gaze.

GazeInputSource

The Gaze Input Source for the provider.

GazeOrigin

Origin of the gaze.

GazePointer

The Gaze Pointer for the provider.

GazeTarget

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

HeadMovementDirection

The current head movement direction.

HeadVelocity

The current head velocity.

HitInfo

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

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.

HitPosition

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

Methods

UpdateGazeInfoFromHit(MixedRealityRaycastHit)

Notifies this gaze provider of its new hit details.

Applies to