Show / Hide Table of Contents

    Class GGVPointer

    This class allows for HoloLens 1 style input, using a far gaze ray for focus with hand and gesture-based input and interaction across it.

    Inheritance
    Object
    InputSystemGlobalHandlerListener
    GGVPointer
    Implements
    IMixedRealityPointer
    IEqualityComparer
    IMixedRealityInputHandler
    IMixedRealityBaseInputHandler
    IMixedRealityInputHandler<MixedRealityPose>
    IMixedRealitySourceStateHandler
    IEventSystemHandler
    Inherited Members
    InputSystemGlobalHandlerListener.InputSystem
    InputSystemGlobalHandlerListener.Start()
    InputSystemGlobalHandlerListener.EnsureInputSystemValid()
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    public class GGVPointer : InputSystemGlobalHandlerListener, IMixedRealityPointer, IEqualityComparer, IMixedRealityInputHandler, IMixedRealityBaseInputHandler, IMixedRealityInputHandler<MixedRealityPose>, IMixedRealitySourceStateHandler, IEventSystemHandler
    Remarks

    This pointer's position is given by hand position (grip pose), and the input focus is given by head gaze.

    Properties

    BaseCursor

    Declaration
    public IMixedRealityCursor BaseCursor { get; set; }
    Property Value
    Type Description
    IMixedRealityCursor

    Controller

    The pointer's current controller reference.

    Declaration
    public IMixedRealityController Controller { get; set; }
    Property Value
    Type Description
    IMixedRealityController

    CursorModifier

    Declaration
    public ICursorModifier CursorModifier { get; set; }
    Property Value
    Type Description
    ICursorModifier

    FocusTarget

    Declaration
    public IMixedRealityFocusHandler FocusTarget { get; set; }
    Property Value
    Type Description
    IMixedRealityFocusHandler

    InputSourceParent

    Declaration
    public IMixedRealityInputSource InputSourceParent { get; }
    Property Value
    Type Description
    IMixedRealityInputSource

    IsActive

    Declaration
    public bool IsActive { get; set; }
    Property Value
    Type Description
    Boolean

    IsFocusLocked

    Is the focus for this pointer currently locked?

    Declaration
    public bool IsFocusLocked { get; set; }
    Property Value
    Type Description
    Boolean

    IsInteractionEnabled

    Declaration
    public bool IsInteractionEnabled { get; }
    Property Value
    Type Description
    Boolean

    IsTargetPositionLockedOnFocusLock

    Specifies whether the pointer's target position (cursor) is locked to the target object when focus is locked.

    Declaration
    public bool IsTargetPositionLockedOnFocusLock { get; set; }
    Property Value
    Type Description
    Boolean

    PointerId

    This pointer's id.

    Declaration
    public uint PointerId { get; }
    Property Value
    Type Description
    UInt32

    PointerName

    This pointer's name.

    Declaration
    public string PointerName { get; set; }
    Property Value
    Type Description
    String

    Position

    Pointer position.

    Declaration
    public virtual Vector3 Position { get; }
    Property Value
    Type Description
    Vector3

    PrioritizedLayerMasksOverride

    Declaration
    public LayerMask[] PrioritizedLayerMasksOverride { get; set; }
    Property Value
    Type Description
    LayerMask[]

    Rays

    Declaration
    public RayStep[] Rays { get; protected set; }
    Property Value
    Type Description
    RayStep[]

    Result

    The scene query pointer result.

    Declaration
    public IPointerResult Result { get; set; }
    Property Value
    Type Description
    IPointerResult

    Rotation

    Pointer rotation.

    Declaration
    public virtual Quaternion Rotation { get; }
    Property Value
    Type Description
    Quaternion

    SceneQueryType

    The type of physics scene query to use.

    Declaration
    public virtual SceneQueryType SceneQueryType { get; set; }
    Property Value
    Type Description
    SceneQueryType

    SphereCastRadius

    Declaration
    public float SphereCastRadius { get; set; }
    Property Value
    Type Description
    Single

    Methods

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    OnDisable()

    Declaration
    protected override void OnDisable()
    Overrides
    InputSystemGlobalHandlerListener.OnDisable()

    OnEnable()

    Declaration
    protected override void OnEnable()
    Overrides
    InputSystemGlobalHandlerListener.OnEnable()

    OnInputChanged(InputEventData<MixedRealityPose>)

    Declaration
    public void OnInputChanged(InputEventData<MixedRealityPose> eventData)
    Parameters
    Type Name Description
    InputEventData<MixedRealityPose> eventData

    OnInputDown(InputEventData)

    Input Down updates from Interactions, Keys, or any other simple input.

    Declaration
    public void OnInputDown(InputEventData eventData)
    Parameters
    Type Name Description
    InputEventData eventData

    OnInputUp(InputEventData)

    Input Up updates from Interactions, Keys, or any other simple input.

    Declaration
    public void OnInputUp(InputEventData eventData)
    Parameters
    Type Name Description
    InputEventData eventData

    OnPostSceneQuery()

    Declaration
    public void OnPostSceneQuery()

    OnPreCurrentPointerTargetChange()

    Declaration
    public void OnPreCurrentPointerTargetChange()

    OnPreSceneQuery()

    Declaration
    public void OnPreSceneQuery()

    OnSourceDetected(SourceStateEventData)

    Raised when a source is detected.

    Declaration
    public void OnSourceDetected(SourceStateEventData eventData)
    Parameters
    Type Name Description
    SourceStateEventData eventData

    OnSourceLost(SourceStateEventData)

    Raised when a source is lost.

    Declaration
    public void OnSourceLost(SourceStateEventData eventData)
    Parameters
    Type Name Description
    SourceStateEventData eventData

    RegisterHandlers()

    Declaration
    protected override void RegisterHandlers()
    Overrides
    InputSystemGlobalHandlerListener.RegisterHandlers()

    UnregisterHandlers()

    Declaration
    protected override void UnregisterHandlers()
    Overrides
    InputSystemGlobalHandlerListener.UnregisterHandlers()

    Implements

    IMixedRealityPointer
    IEqualityComparer
    IMixedRealityInputHandler
    IMixedRealityBaseInputHandler
    IMixedRealityInputHandler<T>
    IMixedRealitySourceStateHandler
    IEventSystemHandler
    Back to top Generated by DocFX