Struct XROcclusionSubsystemCinfo
Constructor parameters for the XROcclusionSubsystemDescriptor.
Implements
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
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<bool> | 
 | 
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<bool> | 
 | 
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,  | 
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 | 
|---|---|
| bool | 
 | 
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 | 
|---|---|
| bool | 
 | 
Methods
Equals(object)
Tests for equality.
Declaration
public override bool Equals(object obj)Parameters
| Type | Name | Description | 
|---|---|---|
| object | obj | The  | 
Returns
| Type | Description | 
|---|---|
| bool | 
 | 
Overrides
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 | 
|---|---|
| bool | 
 | 
GetHashCode()
Generates a hash suitable for use with containers like HashSet and Dictionary.
Declaration
public override int GetHashCode()Returns
| Type | Description | 
|---|---|
| int | A hash code generated from this object's fields. | 
Overrides
Operators
operator ==(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 | 
|---|---|
| bool | 
 | 
operator !=(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 | 
|---|---|
| bool | 
 |