Search Unity

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.