Delegate XRCameraExtensions.OnImageRequestCompleteDelegate | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Delegate XRCameraExtensions.OnImageRequestCompleteDelegate

    A delegate which implementors of AsyncCameraImageConversion must invoke when asynchronous camera image requests are made using the callback variant. See . Consumers of the XRCameraSubsystem API should use .

    Namespace: UnityEngine.XR.ARExtensions
    Syntax
    public delegate void OnImageRequestCompleteDelegate(AsyncCameraImageConversionStatus status, CameraImageConversionParams conversionParams, IntPtr dataPtr, int dataLength, IntPtr context);
    Parameters
    Type Name Description
    AsyncCameraImageConversionStatus status

    The status of the request.

    CameraImageConversionParams conversionParams
    IntPtr dataPtr

    A pointer to the image data. Must be valid for the duration of the invocation, but may be destroyed immediately afterwards.

    System.Int32 dataLength

    The number of bytes pointed to by dataPtr.

    IntPtr context

    An IntPtr which is supplied to the API and must be passed back unaltered to this delegate.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023