Struct XROcclusionSubsystemCinfo
Constructor parameters for the XROcclusionSubsystemDescriptor.
Inherited Members
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> |
|
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> |
|
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 |
---|---|
Boolean |
|
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 |
|
Methods
Equals(Object)
Tests for equality.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | The |
Returns
Type | Description |
---|---|
Boolean |
|
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 |
---|---|
Boolean |
|
Implements
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
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 |
|
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 |
|