Struct XRRaycastSubsystemDescriptor.Cinfo | Package Manager UI website
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
    System.String

    subsystemImplementationType

    The Type of the subsystem.

    Declaration
    public Type subsystemImplementationType { get; set; }
    Property Value
    Type Description
    System.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
    System.Boolean

    supportsWorldBasedRaycast

    Whether the provider supports casting an arbitrary ray.

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

    Methods

    Equals(Object)

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

    Equals(XRRaycastSubsystemDescriptor.Cinfo)

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

    GetHashCode()

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

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.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
    System.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
    System.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