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.
 
 
 

877 B

XR Raycast Subsystem

Raycasts allow you to perform hit testing against AR-specific features. It is conceptually similar to the Physics.Raycast, but raycast targets do not require a presence in the physics world.

There are two types of raycasts:

  • Screen point
  • Arbitrary ray

Some implementations only support one or the other. You can check for support with the XRRaycastSubsystemDescriptor.

Performing Raycasts

See the Script API Reference for API help. Raycasts are tested aginst specified TrackableTypes, a mask of trackable types against which to raycast, and sorted by distance from the ray's origin.