Class XRRaycastSubsystemDescriptor
Descriptor for the XRRaycastSubsystem. Describes capabilities of a specific raycast provider.
Inheritance
XRRaycastSubsystemDescriptor
Implements
Inherited Members
SubsystemDescriptorWithProvider<XRRaycastSubsystem, XRRaycastSubsystem.Provider>.Create()
Namespace: UnityEngine.XR.ARSubsystems
Assembly: solution.dll
Syntax
public sealed class XRRaycastSubsystemDescriptor : SubsystemDescriptorWithProvider<XRRaycastSubsystem, XRRaycastSubsystem.Provider>, ISubsystemDescriptor
Properties
Name | Description |
---|---|
supportedTrackableTypes | The types of trackables against which raycasting is supported. |
supportsTrackedRaycasts | Whether "tracked" raycasts are supported. A tracked raycast is repeated over time and the results are updated automatically. |
supportsViewportBasedRaycast | Whether the provider supports casting a ray from a screen point. |
supportsWorldBasedRaycast | Whether the provider supports casting an arbitrary ray. |
Methods
Name | Description |
---|---|
RegisterDescriptor(Cinfo) | Registers a new descriptor. Should be called by provider implementations. |