Struct XRHumanBodySubsystemDescriptor.Cinfo
Constructor info for the XRHumanBodySubsystemDescriptor.
Implements
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public struct XRHumanBodySubsystemDescriptor.Cinfo : IEquatable<XRHumanBodySubsystemDescriptor.Cinfo>
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. |
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. |
subsystemTypeOverride
Specifies the XRHumanBodySubsystem
-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, |
supportsHumanBody2D
Specifies if the current subsystem supports 2D human body pose estimation.
Declaration
public bool supportsHumanBody2D { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
|
supportsHumanBody3D
Specifies if the current subsystem supports 3D human body pose estimation.
Declaration
public bool supportsHumanBody3D { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
|
supportsHumanBody3DScaleEstimation
Specifies if the current subsystem supports 3D human body scale estimation.
Declaration
public bool supportsHumanBody3DScaleEstimation { 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(Cinfo)
Tests for equality.
Declaration
public bool Equals(XRHumanBodySubsystemDescriptor.Cinfo other)
Parameters
Type | Name | Description |
---|---|---|
XRHumanBodySubsystemDescriptor.Cinfo | other | The other XRHumanBodySubsystemDescriptor.Cinfo 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 ==(Cinfo, Cinfo)
Tests for equality. Same as Equals(Cinfo).
Declaration
public static bool operator ==(XRHumanBodySubsystemDescriptor.Cinfo lhs, XRHumanBodySubsystemDescriptor.Cinfo rhs)
Parameters
Type | Name | Description |
---|---|---|
XRHumanBodySubsystemDescriptor.Cinfo | lhs | The left-hand side of the comparison. |
XRHumanBodySubsystemDescriptor.Cinfo | rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
bool |
|
operator !=(Cinfo, Cinfo)
Tests for inequality. Same as !
Equals(Cinfo).
Declaration
public static bool operator !=(XRHumanBodySubsystemDescriptor.Cinfo lhs, XRHumanBodySubsystemDescriptor.Cinfo rhs)
Parameters
Type | Name | Description |
---|---|---|
XRHumanBodySubsystemDescriptor.Cinfo | lhs | The left-hand side of the comparison. |
XRHumanBodySubsystemDescriptor.Cinfo | rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
bool |
|