Enum XRRayInteractor.HitDetectionType
Sets which shape of physics cast to use for the cast when detecting collisions.
Namespace: UnityEngine.XR.Interaction.Toolkit.Interactors
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
public enum XRRayInteractor.HitDetectionType
Fields
Name | Description |
---|---|
ConeCast | Uses cone casting to detect collisions. |
Raycast | Uses Physics Ray cast to detect collisions. |
SphereCast | Uses Physics Sphere Cast to detect collisions. |