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 |
---|---|---|
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. |