C# Class Microsoft.MixedReality.Toolkit.Input.GazeProvider.InternalGazePointer

Inheritance: Microsoft.MixedReality.Toolkit.Input.GenericPointer
Mostra file Open project: hololensresearch/PPIT-Project

Public Methods

Method Description
InternalGazePointer ( GazeProvider gazeProvider, string pointerName, IMixedRealityInputSource inputSourceParent, Array raycastLayerMasks, float pointerExtent, Transform gazeTransform, BaseRayStabilizer stabilizer ) : Microsoft.MixedReality.Toolkit.Physics
OnPostSceneQuery ( ) : void
OnPreCurrentPointerTargetChange ( ) : void
OnPreSceneQuery ( ) : void
RaisePointerDown ( Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction mixedRealityInputAction, Handedness handedness = Handedness.None, IMixedRealityInputSource inputSource = null ) : void

Press this pointer. This sends a pointer down event across the input system.

RaisePointerUp ( Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction mixedRealityInputAction, Handedness handedness = Handedness.None, IMixedRealityInputSource inputSource = null ) : void

Release this pointer. This sends pointer clicked and pointer up events across the input system.

Private Methods

Method Description
SetGazeInputSourceParent ( IMixedRealityInputSource gazeInputSource ) : void

Only for use when initializing Gaze Pointer on startup.

Method Details

InternalGazePointer() public method

public InternalGazePointer ( GazeProvider gazeProvider, string pointerName, IMixedRealityInputSource inputSourceParent, Array raycastLayerMasks, float pointerExtent, Transform gazeTransform, BaseRayStabilizer stabilizer ) : Microsoft.MixedReality.Toolkit.Physics
gazeProvider GazeProvider
pointerName string
inputSourceParent IMixedRealityInputSource
raycastLayerMasks Array
pointerExtent float
gazeTransform Transform
stabilizer BaseRayStabilizer
return Microsoft.MixedReality.Toolkit.Physics

OnPostSceneQuery() public method

public OnPostSceneQuery ( ) : void
return void

OnPreCurrentPointerTargetChange() public method

public OnPreCurrentPointerTargetChange ( ) : void
return void

OnPreSceneQuery() public method

public OnPreSceneQuery ( ) : void
return void

RaisePointerDown() public method

Press this pointer. This sends a pointer down event across the input system.
public RaisePointerDown ( Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction mixedRealityInputAction, Handedness handedness = Handedness.None, IMixedRealityInputSource inputSource = null ) : void
mixedRealityInputAction Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction The input action that corresponds to the pressed button or axis.
handedness Handedness Optional handedness of the source that pressed the pointer.
inputSource IMixedRealityInputSource
return void

RaisePointerUp() public method

Release this pointer. This sends pointer clicked and pointer up events across the input system.
public RaisePointerUp ( Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction mixedRealityInputAction, Handedness handedness = Handedness.None, IMixedRealityInputSource inputSource = null ) : void
mixedRealityInputAction Microsoft.MixedReality.Toolkit.Input.MixedRealityInputAction The input action that corresponds to the released button or axis.
handedness Handedness Optional handedness of the source that released the pointer.
inputSource IMixedRealityInputSource
return void