Enum TargetPriorityMode
Options for how many Targets (or Interactables with priority for selection) to monitor.
Namespace: UnityEngine.XR.Interaction.Toolkit
Syntax
public enum TargetPriorityMode
Remarks
The options are in order of best performance.
Fields
Name | Description | Value |
---|---|---|
None | Monitors no Target, the targetsForSelection list will not be updated. This option has very low performance cost. |
0 |
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. |
1 |
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. |
2 |