Enum TargetPriorityMode
Options for how many Targets (or Interactables with priority for selection) to monitor.
Namespace: UnityEngine.XR.Interaction.Toolkit
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
public enum TargetPriorityMode
Remarks
The options are in order of best performance.
Fields
Name | Description |
---|---|
All | Tracks all Targets, the targetsForSelection list will be updated with all Interactables that can be selected in the current frame. This option has high performance cost. |
HighestPriorityOnly | Only monitors the highest priority Target, the targetsForSelection list will only be updated with the highest priority Target, or it'll be empty if there is no Target that can be selected in the current frame. This option has moderate performance cost. |
None | Monitors no Target, the targetsForSelection list will not be updated. This option has very low performance cost. |