SW 중심대학 OSS GIT 서버 박건태, 이승준, 고기완, 이준호 새로운 배포
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
877 B

4 years ago
  1. # XR Raycast Subsystem
  2. Raycasts allow you to perform hit testing against AR-specific features. It is conceptually similar to the [Physics.Raycast](https://docs.unity3d.com/ScriptReference/Physics.Raycast.html), but raycast targets do not require a presence in the physics world.
  3. There are two types of raycasts:
  4. - Screen point
  5. - Arbitrary ray
  6. Some implementations only support one or the other. You can check for support with the [`XRRaycastSubsystemDescriptor`](../api/UnityEngine.XR.ARSubsystems.XRRaycastSubsystemDescriptor.html).
  7. ## Performing Raycasts
  8. See the [Script API Reference](../api/UnityEngine.XR.ARSubsystems.XRRaycastSubsystem.html) for API help. Raycasts are tested aginst specified [`TrackableType`](../api/UnityEngine.XR.ARSubsystems.TrackableType.html)s, a mask of trackable types against which to raycast, and sorted by distance from the ray's origin.