Class XRHumanBodySubsystem
Defines an interface for interacting with human body functionality.
Inheritance
SubsystemWithProvider<XRHumanBodySubsystem, XRHumanBodySubsystemDescriptor, XRHumanBodySubsystem.Provider>
TrackingSubsystem<XRHumanBody, XRHumanBodySubsystem, XRHumanBodySubsystemDescriptor, XRHumanBodySubsystem.Provider>
XRHumanBodySubsystem
Implements
Inherited Members
SubsystemWithProvider<XRHumanBodySubsystem, XRHumanBodySubsystemDescriptor, XRHumanBodySubsystem.Provider>.OnCreate()
SubsystemWithProvider<XRHumanBodySubsystem, XRHumanBodySubsystemDescriptor, XRHumanBodySubsystem.Provider>.OnStart()
SubsystemWithProvider<XRHumanBodySubsystem, XRHumanBodySubsystemDescriptor, XRHumanBodySubsystem.Provider>.OnStop()
SubsystemWithProvider<XRHumanBodySubsystem, XRHumanBodySubsystemDescriptor, XRHumanBodySubsystem.Provider>.OnDestroy()
SubsystemWithProvider<XRHumanBodySubsystem, XRHumanBodySubsystemDescriptor, XRHumanBodySubsystem.Provider>.subsystemDescriptor
SubsystemWithProvider<XRHumanBodySubsystem, XRHumanBodySubsystemDescriptor, XRHumanBodySubsystem.Provider>.provider
SubsystemWithProvider.OnStart()
SubsystemWithProvider.OnStop()
SubsystemWithProvider.OnDestroy()
Namespace: UnityEngine.XR.ARSubsystems
Assembly: solution.dll
Syntax
public class XRHumanBodySubsystem : TrackingSubsystem<XRHumanBody, XRHumanBodySubsystem, XRHumanBodySubsystemDescriptor, XRHumanBodySubsystem.Provider>, ISubsystem
Constructors
Name | Description |
---|---|
XRHumanBodySubsystem() | Construct the subsystem by creating the functionality provider. |
Properties
Name | Description |
---|---|
pose2DEnabled | Whether 2D human body pose estimation is enabled. |
pose2DRequested | Whether 2D human body pose estimation is requested. |
pose3DEnabled | Whether 3D human body pose estimation is enabled. |
pose3DRequested | Whether 3D human body pose estimation is requested. |
pose3DScaleEstimationEnabled | Whether 3D human body scale estimation is enabled. |
pose3DScaleEstimationRequested | Whether 3D human body scale estimation is requested. |
Methods
Name | Description |
---|---|
GetChanges(Allocator) | Query the provider for the trackable changes. |
GetHumanBodyPose2DJoints(Allocator) | Gets the human body pose 2D joints for the current frame. |
GetSkeleton(TrackableId, Allocator, ref NativeArray<XRHumanBodyJoint>) | Query the provider for the skeleton joints for the requested trackable identifier. |
Register(XRHumanBodySubsystemCinfo) | Register the descriptor for the human body subsystem implementation. |