Edit

Bagikan melalui


IMixedRealityQueryablePointer Interface

Definition

Interface for handling pointers.

public interface class IMixedRealityQueryablePointer : Microsoft::MixedReality::Toolkit::Input::IMixedRealityPointer, System::Collections::IEqualityComparer
public interface IMixedRealityQueryablePointer : Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointer, System.Collections.IEqualityComparer
type IMixedRealityQueryablePointer = interface
    interface IMixedRealityPointer
    interface IEqualityComparer
Public Interface IMixedRealityQueryablePointer
Implements IEqualityComparer, IMixedRealityPointer
Derived
Implements

Properties

BaseCursor

The pointer's cursor.

(Inherited from IMixedRealityPointer)
Controller

The pointer's current controller reference.

(Inherited from IMixedRealityPointer)
CursorModifier

The currently active cursor modifier.

(Inherited from IMixedRealityPointer)
FocusTarget

The currently focused target.

(Inherited from IMixedRealityPointer)
InputSourceParent

This pointer's input source parent.

(Inherited from IMixedRealityPointer)
IsActive

Controls whether the pointer dispatches input.

(Inherited from IMixedRealityPointer)
IsFocusLocked

Is the focus for this pointer currently locked?

(Inherited from IMixedRealityPointer)
IsInteractionEnabled

Is the pointer active and have the conditions for the interaction been satisfied to enable the interaction?

(Inherited from IMixedRealityPointer)
IsTargetPositionLockedOnFocusLock

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

(Inherited from IMixedRealityPointer)
PointerId

This pointer's id.

(Inherited from IMixedRealityPointer)
PointerName

This pointer's name.

(Inherited from IMixedRealityPointer)
Position

Pointer position.

(Inherited from IMixedRealityPointer)
PrioritizedLayerMasksOverride

The physics layers to use when performing scene queries.

(Inherited from IMixedRealityPointer)
Rays

The scene query rays.

(Inherited from IMixedRealityPointer)
Result

The scene query pointer result.

(Inherited from IMixedRealityPointer)
Rotation

Pointer rotation.

(Inherited from IMixedRealityPointer)
SceneQueryType

The type of physics scene query to use.

(Inherited from IMixedRealityPointer)
SphereCastRadius

The radius to use when SceneQueryType is set to Sphere or SphereColliders.

(Inherited from IMixedRealityPointer)

Methods

OnPostSceneQuery()

Called after performing the scene query.

(Inherited from IMixedRealityPointer)
OnPreCurrentPointerTargetChange()

Called during the scene query just before the current pointer target changes.

(Inherited from IMixedRealityPointer)
OnPreSceneQuery()

Called before performing the scene query.

(Inherited from IMixedRealityPointer)
OnSceneQuery(LayerMask[], Boolean, GameObject, Vector3, Single)

Called to have the pointer query the scene to determine which objects it is hitting. Updates hitObject, hitPoint, and hitDistance. Used when the method for querying the scene does not utilize a RaycastHit. Examples of this include UnityEngine.Physics.SphereOverlap, which performs no raycast calls

OnSceneQuery(LayerMask[], Boolean, MixedRealityRaycastHit, RayStep, Int32)

Called to have the pointer query the scene to determine which objects it is hitting. Updates hitinfo. Used when the method for querying the scene utilizes a RaycastHit, such as when using UnityEngine.Physics.Raycast

Reset()

Resets pointer to initial state. After invoked pointer should be functional and ready for re-use.

(Inherited from IMixedRealityPointer)

Applies to