docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method TryAcquireHumanDepthCpuImage

    TryAcquireHumanDepthCpuImage(out XRCpuImage)

    Attempt to get the latest human depth CPU image. This provides direct access to the raw pixel data.

    Declaration
    public bool TryAcquireHumanDepthCpuImage(out XRCpuImage cpuImage)
    Parameters
    Type Name Description
    XRCpuImage cpuImage

    If this method returns true, an acquired XRCpuImage.

    Returns
    Type Description
    bool

    Returns true if the CPU image was acquired. Returns false otherwise.

    Remarks

    The XRCpuImage must be disposed to avoid resource leaks.

    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)