docs.unity3d.com
    Show / Hide Table of Contents

    Struct XROcclusionSubsystemCinfo

    Constructor parameters for the XROcclusionSubsystemDescriptor.

    Inherited Members
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: UnityEngine.XR.ARSubsystems
    Syntax
    public struct XROcclusionSubsystemCinfo : IEquatable<XROcclusionSubsystemCinfo>

    Properties

    environmentDepthConfidenceImageSupportedDelegate

    Specifies if the current subsystem supports environment depth confidence image.

    Declaration
    public Func<Supported> environmentDepthConfidenceImageSupportedDelegate { readonly get; set; }
    Property Value
    Type Description
    Func<Supported>

    environmentDepthImageSupportedDelegate

    Query for whether the current subsystem supports environment depth image.

    Declaration
    public Func<Supported> environmentDepthImageSupportedDelegate { readonly get; set; }
    Property Value
    Type Description
    Func<Supported>

    environmentDepthTemporalSmoothingSupportedDelegate

    Specifies whether a subsystem supports temporal smoothing of the environment depth image.

    Declaration
    public Func<Supported> environmentDepthTemporalSmoothingSupportedDelegate { readonly get; set; }
    Property Value
    Type Description
    Func<Supported>

    A method delegate indicating support for temporal smoothing of the environment depth image.

    humanSegmentationDepthImageSupportedDelegate

    Specifies whether a subsystem supports human segmentation depth image.

    Declaration
    public Func<Supported> humanSegmentationDepthImageSupportedDelegate { readonly get; set; }
    Property Value
    Type Description
    Func<Supported>

    humanSegmentationStencilImageSupportedDelegate

    Specifies whether a subsystem supports human segmentation stencil image.

    Declaration
    public Func<Supported> humanSegmentationStencilImageSupportedDelegate { readonly get; set; }
    Property Value
    Type Description
    Func<Supported>

    id

    Specifies an identifier for the provider implementation of the subsystem.

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

    The identifier for the provider implementation of the subsystem.

    implementationType

    Specifies the provider implementation type to use for instantiation.

    Declaration
    [Obsolete("XROcclusionSubsystem no longer supports the deprecated set of base classes for subsystems as of Unity 2020.2. Use providerType and, optionally, subsystemTypeOverride instead.", true)]
    public Type implementationType { readonly get; set;
    }
    Property Value
    Type Description
    Type

    Specifies the provider implementation type to use for instantiation.

    providerType

    Specifies the provider implementation type to use for instantiation.

    Declaration
    public Type providerType { readonly get; set; }
    Property Value
    Type Description
    Type

    The provider implementation type to use for instantiation.

    queryForSupportsEnvironmentDepthConfidenceImage

    Specifies if the current subsystem supports environment depth confidence image. This property is deprecated. Use environmentDepthConfidenceImageSupportedDelegate instead.

    Declaration
    [Obsolete("Use environmentDepthConfidenceImageSupportedDelegate instead.")]
    public Func<bool> queryForSupportsEnvironmentDepthConfidenceImage { readonly get; set;
    }
    Property Value
    Type Description
    Func<Boolean>

    true if the current subsystem supports environment depth confidence image. Otherwise, false.

    queryForSupportsEnvironmentDepthImage

    Query for whether the current subsystem supports environment depth image. This property is deprecated. Use environmentDepthImageSupportedDelegate instead.

    Declaration
    [Obsolete("Use environmentDepthImageSupportedDelegate instead.")]
    public Func<bool> queryForSupportsEnvironmentDepthImage { readonly get; set;
    }
    Property Value
    Type Description
    Func<Boolean>

    true if the current subsystem supports environment depth image. Otherwise, false.

    subsystemTypeOverride

    Specifies the XRAnchorSubsystem-derived type that forwards casted calls to its provider.

    Declaration
    public Type subsystemTypeOverride { readonly get; set; }
    Property Value
    Type Description
    Type

    The type of the subsystem to use for instantiation. If null, XRAnchorSubsystem will be instantiated.

    supportsHumanSegmentationDepthImage

    Specifies if the current subsystem supports human segmentation depth image. This property is deprecated. Use humanSegmentationDepthImageSupportedDelegate instead.

    Declaration
    [Obsolete("Use humanSegmentationDepthImageSupportedDelegate instead.")]
    public bool supportsHumanSegmentationDepthImage { readonly get; set;
    }
    Property Value
    Type Description
    Boolean

    true if the current subsystem supports human segmentation depth image. Otherwise, false.

    supportsHumanSegmentationStencilImage

    Specifies if the current subsystem supports human segmentation stencil image. This property is deprecated. Use humanSegmentationStencilImageSupportedDelegate instead.

    Declaration
    [Obsolete("Use humanSegmentationStencilImageSupportedDelegate instead.")]
    public bool supportsHumanSegmentationStencilImage { readonly get; set;
    }
    Property Value
    Type Description
    Boolean

    true if the current subsystem supports human segmentation stencil image. Otherwise, false.

    Methods

    Equals(Object)

    Tests for equality.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj

    The object to compare against.

    Returns
    Type Description
    Boolean

    True if obj is of type XROcclusionSubsystemCinfo and Equals(XROcclusionSubsystemCinfo) also returns true; otherwise false.

    Overrides
    ValueType.Equals(Object)

    Equals(XROcclusionSubsystemCinfo)

    Tests for equality.

    Declaration
    public bool Equals(XROcclusionSubsystemCinfo other)
    Parameters
    Type Name Description
    XROcclusionSubsystemCinfo other

    The other XROcclusionSubsystemCinfo to compare against.

    Returns
    Type Description
    Boolean

    True if every field in other is equal to this XROcclusionSubsystemCinfo, otherwise false.

    Implements
    IEquatable<T>.Equals(T)

    GetHashCode()

    Generates a hash suitable for use with containers like HashSet and Dictionary.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    A hash code generated from this object's fields.

    Overrides
    ValueType.GetHashCode()

    Operators

    Equality(XROcclusionSubsystemCinfo, XROcclusionSubsystemCinfo)

    Tests for equality. Same as Equals(XROcclusionSubsystemCinfo).

    Declaration
    public static bool operator ==(XROcclusionSubsystemCinfo lhs, XROcclusionSubsystemCinfo rhs)
    Parameters
    Type Name Description
    XROcclusionSubsystemCinfo lhs

    The left-hand side of the comparison.

    XROcclusionSubsystemCinfo rhs

    The right-hand side of the comparison.

    Returns
    Type Description
    Boolean

    True if lhs is equal to rhs, otherwise false.

    Inequality(XROcclusionSubsystemCinfo, XROcclusionSubsystemCinfo)

    Tests for inequality. Same as !Equals(XROcclusionSubsystemCinfo).

    Declaration
    public static bool operator !=(XROcclusionSubsystemCinfo lhs, XROcclusionSubsystemCinfo rhs)
    Parameters
    Type Name Description
    XROcclusionSubsystemCinfo lhs

    The left-hand side of the comparison.

    XROcclusionSubsystemCinfo rhs

    The right-hand side of the comparison.

    Returns
    Type Description
    Boolean

    True if lhs is not equal to rhs, otherwise false.

    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