Düzenle

Aracılığıyla paylaş


GazeConePointer Class

Definition

public ref class GazeConePointer : Microsoft::MixedReality::Toolkit::Input::GenericPointer, Microsoft::MixedReality::Toolkit::Input::IMixedRealityQueryablePointer, System::Collections::IEqualityComparer
public class GazeConePointer : Microsoft.MixedReality.Toolkit.Input.GenericPointer, Microsoft.MixedReality.Toolkit.Input.IMixedRealityQueryablePointer, System.Collections.IEqualityComparer
type GazeConePointer = class
    inherit GenericPointer
    interface IMixedRealityQueryablePointer
    interface IMixedRealityPointer
    interface IEqualityComparer
Public Class GazeConePointer
Inherits GenericPointer
Implements IEqualityComparer, IMixedRealityQueryablePointer
Inheritance
GazeConePointer
Implements

Constructors

GazeConePointer(GazeProvider, String, IMixedRealityInputSource, LayerMask[], Single, Transform, BaseRayStabilizer)

Fields

castLayerMask
coneCastAngle
coneCastAngleToCenterWeight
coneCastAngleWeight
coneCastDistanceToCenterWeight
coneCastDistanceWeight
coneCastRange
coneCastSphereRadius

Properties

BaseCursor

The pointer's cursor.

(Inherited from GenericPointer)
Controller
CursorModifier

The currently active cursor modifier.

(Inherited from GenericPointer)
FocusTarget

The currently focused target.

(Inherited from GenericPointer)
InputSourceParent

This pointer's input source parent.

(Inherited from GenericPointer)
IsActive

Controls whether the pointer dispatches input.

(Inherited from GenericPointer)
IsFocusLocked

Is the focus for this pointer currently locked?

(Inherited from GenericPointer)
IsInteractionEnabled

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

(Inherited from GenericPointer)
IsTargetPositionLockedOnFocusLock

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

(Inherited from GenericPointer)
PointerExtent

The pointer's maximum extent when raycasting.

PointerId

This pointer's id.

(Inherited from GenericPointer)
PointerName

This pointer's name.

(Inherited from GenericPointer)
Position

Pointer position.

PrioritizedLayerMasksOverride

The physics layers to use when performing scene queries.

(Inherited from GenericPointer)
Rays

The scene query rays.

(Inherited from GenericPointer)
RayStabilizer

Ray stabilizer used when calculating position of pointer end point.

(Inherited from GenericPointer)
Result

The scene query pointer result.

(Inherited from GenericPointer)
Rotation

Pointer rotation.

SceneQueryType

The type of physics scene query to use.

(Inherited from GenericPointer)
SphereCastRadius

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

(Inherited from GenericPointer)
TeleportHotSpot (Inherited from GenericPointer)

Methods

Equals(Object) (Inherited from GenericPointer)
GetHashCode() (Inherited from GenericPointer)
OnPostSceneQuery()

Called after performing the scene query.

OnPreCurrentPointerTargetChange()

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

OnPreSceneQuery()

Called before performing the scene query.

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)
RaisePointerDown(MixedRealityInputAction, Handedness, IMixedRealityInputSource)

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

RaisePointerUp(MixedRealityInputAction, Handedness, IMixedRealityInputSource)

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

Reset()

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

Explicit Interface Implementations

IEqualityComparer.Equals(Object, Object) (Inherited from GenericPointer)
IEqualityComparer.GetHashCode(Object) (Inherited from GenericPointer)

Applies to