Struct XRRaycastSubsystemDescriptor.Cinfo | AR Subsystems | 3.1.10
docs.unity3d.com
    Show / Hide Table of Contents

    Struct XRRaycastSubsystemDescriptor.Cinfo

    Used to register a descriptor. See RegisterDescriptor(XRRaycastSubsystemDescriptor.Cinfo).

    Namespace: UnityEngine.XR.ARSubsystems
    Syntax
    public struct Cinfo : IEquatable<XRRaycastSubsystemDescriptor.Cinfo>

    Properties

    id

    A provider-specific identifier.

    Declaration
    public string id { get; set; }
    Property Value
    Type Description
    String

    subsystemImplementationType

    The Type of the subsystem.

    Declaration
    public Type subsystemImplementationType { get; set; }
    Property Value
    Type Description
    Type

    supportedTrackableTypes

    The types of trackables against which raycasting is supported.

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

    supportsViewportBasedRaycast

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

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

    supportsWorldBasedRaycast

    Whether the provider supports casting an arbitrary ray.

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

    Methods

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    ValueType.Equals(Object)

    Equals(XRRaycastSubsystemDescriptor.Cinfo)

    Declaration
    public bool Equals(XRRaycastSubsystemDescriptor.Cinfo other)
    Parameters
    Type Name Description
    XRRaycastSubsystemDescriptor.Cinfo other
    Returns
    Type Description
    Boolean

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    ValueType.ToString()

    Operators

    Equality(XRRaycastSubsystemDescriptor.Cinfo, XRRaycastSubsystemDescriptor.Cinfo)

    Declaration
    public static bool operator ==(XRRaycastSubsystemDescriptor.Cinfo lhs, XRRaycastSubsystemDescriptor.Cinfo rhs)
    Parameters
    Type Name Description
    XRRaycastSubsystemDescriptor.Cinfo lhs
    XRRaycastSubsystemDescriptor.Cinfo rhs
    Returns
    Type Description
    Boolean

    Inequality(XRRaycastSubsystemDescriptor.Cinfo, XRRaycastSubsystemDescriptor.Cinfo)

    Declaration
    public static bool operator !=(XRRaycastSubsystemDescriptor.Cinfo lhs, XRRaycastSubsystemDescriptor.Cinfo rhs)
    Parameters
    Type Name Description
    XRRaycastSubsystemDescriptor.Cinfo lhs
    XRRaycastSubsystemDescriptor.Cinfo rhs
    Returns
    Type Description
    Boolean
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023