Editar

Partilhar via


IPointerPreferences Interface

Definition

Provides interface for getting and setting behaviors and possible other settings for pointers in the input system. Behaviors are described based on pointer type and input type, not per pointer. This is to ensure that new pointers that appear maintain consistent behavior.

public interface class IPointerPreferences
public interface IPointerPreferences
type IPointerPreferences = interface
Public Interface IPointerPreferences
Derived

Properties

GazePointerBehavior

Pointer behavior for the gaze pointer. We make gaze pointer unique because the internal gaze pointer actually cannot be referenced from here since it's an internal class.

Methods

GetPointerBehavior(IMixedRealityPointer)

Gets the for a given pointer

GetPointerBehavior<T>(Handedness, InputSourceType)

Gets the for a given pointer type, handedness, and input type

SetPointerBehavior<T>(Handedness, InputSourceType, PointerBehavior)

Sets the for a given pointer type, handedness, and input type

Applies to