docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class XRHumanBodySubsystemDescriptor

    The descriptor for the XRHumanBodySubsystem.

    Inheritance
    object
    SubsystemDescriptorWithProvider
    SubsystemDescriptorWithProvider<XRHumanBodySubsystem, XRHumanBodySubsystem.Provider>
    XRHumanBodySubsystemDescriptor
    Implements
    ISubsystemDescriptor
    Inherited Members
    SubsystemDescriptorWithProvider<XRHumanBodySubsystem, XRHumanBodySubsystem.Provider>.Create()
    SubsystemDescriptorWithProvider.id
    SubsystemDescriptorWithProvider.providerType
    SubsystemDescriptorWithProvider.subsystemTypeOverride
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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

    true if the current subsystem supports 2D human body pose estimation. Otherwise, false.

    supportsHumanBody3D

    Specifies if the current subsystem supports 3D human body pose estimation.

    Declaration
    public bool supportsHumanBody3D { get; }
    Property Value
    Type Description
    bool

    true if the current subsystem supports 3D human body pose estimation. Otherwise, false.

    supportsHumanBody3DScaleEstimation

    Specifies if the current subsystem supports 3D human body scale estimation.

    Declaration
    public bool supportsHumanBody3DScaleEstimation { get; }
    Property Value
    Type Description
    bool

    true if the current subsystem supports 3D human body scale estimation. Otherwise, false.

    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 cinfo parameter are invalid. Typically, this happens when required parameters are null or empty or types that do not derive from the required base class.

    Implements

    ISubsystemDescriptor
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)