Struct XRHumanBodySubsystemCinfo
Constructor info for the XRHumanBodySubsystemDescriptor.
Namespace: UnityEngine.XR.ARSubsystems
Syntax
public struct XRHumanBodySubsystemCinfo : IEquatable<XRHumanBodySubsystemCinfo>
Properties
id
Specifies an identifier for the provider implementation of the subsystem.
Declaration
public string id { 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 { get; set; }
Property Value
Type | Description |
---|---|
Type | Specifies the provider implementation type to use for instantiation. |
supportsHumanBody2D
Specifies if the current subsystem supports 2D human body pose estimation.
Declaration
public bool supportsHumanBody2D { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
supportsHumanBody3D
Specifies if the current subsystem supports 3D human body pose estimation.
Declaration
public bool supportsHumanBody3D { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
supportsHumanBody3DScaleEstimation
Specifies if the current subsystem supports 3D human body scale estimation.
Declaration
public bool supportsHumanBody3DScaleEstimation { 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(XRHumanBodySubsystemCinfo)
Tests for equality.
Declaration
public bool Equals(XRHumanBodySubsystemCinfo other)
Parameters
Type | Name | Description |
---|---|---|
XRHumanBodySubsystemCinfo | other | The other XRHumanBodySubsystemCinfo 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(XRHumanBodySubsystemCinfo, XRHumanBodySubsystemCinfo)
Tests for equality. Same as Equals(XRHumanBodySubsystemCinfo).
Declaration
public static bool operator ==(XRHumanBodySubsystemCinfo lhs, XRHumanBodySubsystemCinfo rhs)
Parameters
Type | Name | Description |
---|---|---|
XRHumanBodySubsystemCinfo | lhs | The left-hand side of the comparison. |
XRHumanBodySubsystemCinfo | rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
Boolean |
|
Inequality(XRHumanBodySubsystemCinfo, XRHumanBodySubsystemCinfo)
Tests for inequality. Same as !
Equals(XRHumanBodySubsystemCinfo).
Declaration
public static bool operator !=(XRHumanBodySubsystemCinfo lhs, XRHumanBodySubsystemCinfo rhs)
Parameters
Type | Name | Description |
---|---|---|
XRHumanBodySubsystemCinfo | lhs | The left-hand side of the comparison. |
XRHumanBodySubsystemCinfo | rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
Boolean |
|