InteractionFlags Enum

Definition

Flags used to represent a combination of different interaction methodologies.

This enumeration supports a bitwise combination of its member values.

C#
[System.Flags]
public enum InteractionFlags
Inheritance
InteractionFlags
Attributes

Fields

Name Value Description
Generic -2147483648

A generic or an unknown interaction, typically from an interactor that does not implement or inherit from any MRTK-standard interfaces or base implementations.

None 0

No active interaction method.

Near 1

Near interaction, typically from a MixedReality.Toolkit.Input.GrabInteractor object.

Ray 2

Far-ray interaction, typically from a MixedReality.Toolkit.Input.MRTKRayInteractor object.

Gaze 4

Gaze-pinch interaction, typically from a MixedReality.Toolkit.Input.GazePinchInteractor object.

Applies to

Táirge Leaganacha
MRTK3 Spatial Manipulation 3.0, 3.1, 3.2