docs.unity3d.com
    目次を表示する/隠す

    Class XRRaycastSubsystemDescriptor

    Descriptor for the XRRaycastSubsystem. Describes capabilities of a specific raycast provider.

    Inheritance
    Object
    SubsystemDescriptorWithProvider
    UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider<XRRaycastSubsystem, XRRaycastSubsystem.Provider>
    XRRaycastSubsystemDescriptor
    Inherited Members
    UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider<UnityEngine.XR.ARSubsystems.XRRaycastSubsystem, UnityEngine.XR.ARSubsystems.XRRaycastSubsystem.Provider>.Create()
    UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider.UnityEngine.ISubsystemDescriptor.Create()
    SubsystemDescriptorWithProvider.id
    UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider.providerType
    UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider.subsystemTypeOverride
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.XR.ARSubsystems
    Syntax
    public sealed class XRRaycastSubsystemDescriptor : SubsystemDescriptorWithProvider<XRRaycastSubsystem, XRRaycastSubsystem.Provider>, ISubsystemDescriptor

    Properties

    supportedTrackableTypes

    The types of trackables against which raycasting is supported.

    Declaration
    public TrackableType supportedTrackableTypes { get; }
    Property Value
    Type Description
    TrackableType

    supportsTrackedRaycasts

    Whether "tracked" raycasts are supported. A tracked raycast is repeated over time and the results are updated automatically.

    Declaration
    public bool supportsTrackedRaycasts { get; set; }
    Property Value
    Type Description
    Boolean

    supportsViewportBasedRaycast

    Whether the provider supports casting a ray from a screen point.

    Declaration
    public bool supportsViewportBasedRaycast { get; }
    Property Value
    Type Description
    Boolean

    supportsWorldBasedRaycast

    Whether the provider supports casting an arbitrary ray.

    Declaration
    public bool supportsWorldBasedRaycast { get; }
    Property Value
    Type Description
    Boolean

    Methods

    RegisterDescriptor(XRRaycastSubsystemDescriptor.Cinfo)

    Registers a new descriptor. Should be called by provider implementations.

    Declaration
    public static void RegisterDescriptor(XRRaycastSubsystemDescriptor.Cinfo cinfo)
    Parameters
    Type Name Description
    XRRaycastSubsystemDescriptor.Cinfo cinfo
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)