Files
adriadri6972 d3d9c5f833 upload project
2025-07-31 15:21:08 +02:00

1.8 KiB

uid
uid
arfoundation-simulation-raycasts

Ray casts

This page is a supplement to the AR Foundation Ray casts manual. The following sections only contain information about APIs where XR Simulation exhibits unique platform-specific behavior.

[!include]

Optional feature support

XR Simulation implements the following optional features of AR Foundation's XRRaycastSubsystem:

Feature Descriptor Property Supported
Viewport based raycast supportsViewportBasedRaycast
World based raycast supportsWorldBasedRaycast Yes
Tracked raycasts supportsTrackedRaycasts

Supported trackables

XR Simulation supports ray casting against the following trackable types:

TrackableType Supported
BoundingBox
Depth
Face
FeaturePoint Yes
Image
Planes Yes
PlaneEstimated Yes
PlaneWithinBounds Yes
PlaneWithinInfinity Yes
PlaneWithinPolygon Yes

Note

Refer to AR Foundation Ray cast platform support for more information on the optional features of the Raycast subsystem.