docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetOrCreate

    GetOrCreate(Camera, int)

    Get the existing HDCamera for the provided camera or create a new if it does not exist yet.

    Declaration
    public static HDCamera GetOrCreate(Camera camera, int xrMultipassId = 0)
    Parameters
    Type Name Description
    Camera camera

    Camera for which the HDCamera is needed.

    int xrMultipassId

    XR multi-pass Id.

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