Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

ARFoundation: Checking for body detection support

Discussion in 'AR' started by User340, Jan 15, 2020.

  1. User340

    User340

    Joined:
    Feb 28, 2007
    Posts:
    3,001
    How does one go about checking for body detection (mocap) support with AR Foundation? I mean, checking if the current device supports it.
     
    dtaddis likes this.
  2. todds_unity

    todds_unity

    Joined:
    Aug 1, 2018
    Posts:
    324
    The AR Foundation managers have a property called descriptor that describes the functionality available at runtime.

    For the ARHumanBodyManager, the XRHumanBodySubsystemDescriptor tells you which human tracking features are supported on the platform at runtime.
     
    dtaddis and User340 like this.