Struct XROcclusionSubsystemCinfo
Constructor parameters for the XROcclusionSubsystemDescriptor.
Namespace: UnityEngine.XR.ARSubsystems
Syntax
public struct XROcclusionSubsystemCinfo : IEquatable<XROcclusionSubsystemCinfo>
Properties
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
public Type implementationType { readonly get; set; }
Property Value
Type | Description |
---|---|
Type | Specifies the provider implementation type to use for instantiation. |
queryForSupportsEnvironmentDepthConfidenceImage
Specifies if the current subsystem supports environment depth confidence image.
Declaration
public Func<bool> queryForSupportsEnvironmentDepthConfidenceImage { readonly get; set; }
Property Value
Type | Description |
---|---|
Func<Boolean> |
|
queryForSupportsEnvironmentDepthImage
Query for whether the current subsystem supports environment depth image.
Declaration
public Func<bool> queryForSupportsEnvironmentDepthImage { readonly get; set; }
Property Value
Type | Description |
---|---|
Func<Boolean> |
|
supportsHumanSegmentationDepthImage
Specifies if the current subsystem supports human segmentation depth image.
Declaration
public bool supportsHumanSegmentationDepthImage { readonly get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
supportsHumanSegmentationStencilImage
Specifies if the current subsystem supports human segmentation stencil image.
Declaration
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 |
|
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 |
|