Class XRHumanBodySubsystemDescriptor
The descriptor for the XRHumanBodySubsystem.
Inheritance
Implements
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public class XRHumanBodySubsystemDescriptor : SubsystemDescriptorWithProvider<XRHumanBodySubsystem, XRHumanBodySubsystem.Provider>, ISubsystemDescriptor
Properties
supportsHumanBody2D
Specifies if the current subsystem supports 2D human body pose estimation.
Declaration
public bool supportsHumanBody2D { get; }
Property Value
Type | Description |
---|---|
bool |
|
supportsHumanBody3D
Specifies if the current subsystem supports 3D human body pose estimation.
Declaration
public bool supportsHumanBody3D { get; }
Property Value
Type | Description |
---|---|
bool |
|
supportsHumanBody3DScaleEstimation
Specifies if the current subsystem supports 3D human body scale estimation.
Declaration
public bool supportsHumanBody3DScaleEstimation { get; }
Property Value
Type | Description |
---|---|
bool |
|
Methods
Register(Cinfo)
Registers a subsystem implementation based on the given subystem parameters, and validates that the id and providerType properties are specified.
Declaration
public static void Register(XRHumanBodySubsystemDescriptor.Cinfo cinfo)
Parameters
Type | Name | Description |
---|---|---|
XRHumanBodySubsystemDescriptor.Cinfo | cinfo | The parameters required to initialize the descriptor. |
Exceptions
Type | Condition |
---|---|
ArgumentException | Thrown when the values specified in the
|