Enum XRRayInteractor.QuerySnapVolumeInteraction
Sets whether ray cast queries hit Trigger colliders and include or ignore snap volume trigger colliders.
Namespace: UnityEngine.XR.Interaction.Toolkit
Syntax
public enum QuerySnapVolumeInteraction
Fields
Name | Description | Value |
---|---|---|
Ignore | Queries never report Trigger hits that are registered with a snap volume. |
0 |
Collide | Queries always report Trigger hits that are registered with a snap volume. |
1 |