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.
Implements
IEqualityComparer
IEventSystemHandler
Assembly: cs.temp.dll.dll
public class GGVPointer : InputSystemGlobalHandlerListener, IMixedRealityPointer, IEqualityComparer, IMixedRealityInputHandler, IMixedRealityBaseInputHandler, IMixedRealityInputHandler<MixedRealityPose>, IMixedRealitySourceStateHandler, IEventSystemHandler
Properties
Declaration
public IMixedRealityCursor BaseCursor { get; set; }
Property Value
The pointer's current controller reference.
Declaration
public IMixedRealityController Controller { get; set; }
Property Value
Declaration
public ICursorModifier CursorModifier { get; set; }
Property Value
Declaration
public IMixedRealityFocusHandler FocusTarget { get; set; }
Property Value
Declaration
public IMixedRealityInputSource InputSourceParent { get; }
Property Value
Declaration
public bool IsActive { get; set; }
Property Value
Is the focus for this pointer currently locked?
Declaration
public bool IsFocusLocked { get; set; }
Property Value
Declaration
public bool IsInteractionEnabled { get; }
Property Value
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
Declaration
public uint PointerId { get; }
Property Value
Declaration
public string PointerName { get; set; }
Property Value
Declaration
public virtual Vector3 Position { get; }
Property Value
Declaration
public LayerMask[] PrioritizedLayerMasksOverride { get; set; }
Property Value
Type |
Description |
LayerMask[] |
|
Declaration
public RayStep[] Rays { get; protected set; }
Property Value
Type |
Description |
RayStep[] |
|
The scene query pointer result.
Declaration
public IPointerResult Result { get; set; }
Property Value
Declaration
public virtual Quaternion Rotation { get; }
Property Value
Type |
Description |
Quaternion |
|
The type of physics scene query to use.
Declaration
public virtual SceneQueryType SceneQueryType { get; set; }
Property Value
Type |
Description |
SceneQueryType |
|
Declaration
public float SphereCastRadius { get; set; }
Property Value
Methods
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Declaration
public override int GetHashCode()
Returns
Declaration
protected override void OnDisable()
Overrides
Declaration
protected override void OnEnable()
Overrides
Declaration
public void OnInputChanged(InputEventData<MixedRealityPose> eventData)
Parameters
Input Down updates from Interactions, Keys, or any other simple input.
Declaration
public void OnInputDown(InputEventData eventData)
Parameters
Input Up updates from Interactions, Keys, or any other simple input.
Declaration
public void OnInputUp(InputEventData eventData)
Parameters
OnPostSceneQuery()
Declaration
public void OnPostSceneQuery()
Declaration
public void OnPreCurrentPointerTargetChange()
Declaration
public void OnPreSceneQuery()
Raised when a source is detected.
Declaration
public void OnSourceDetected(SourceStateEventData eventData)
Parameters
Raised when a source is lost.
Declaration
public void OnSourceLost(SourceStateEventData eventData)
Parameters
Overload this method to specify, which global events component wants to listen to.
Use RegisterHandler API of InputSystem
Declaration
protected override void RegisterHandlers()
Overrides
Overload this method to specify, which global events component should stop listening to.
Use UnregisterHandler API of InputSystem
Declaration
protected override void UnregisterHandlers()
Overrides
Implements
IEqualityComparer
IEventSystemHandler