docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetRenderer

    SetRenderer(int)

    Use this to set this Camera's current ScriptableRenderer to one listed on the Render Pipeline Asset. Takes an index that maps to the list on the Render Pipeline Asset.

    Declaration
    public void SetRenderer(int index)
    Parameters
    Type Name Description
    int index

    The index that maps to the RendererData list on the currently assigned Render Pipeline Asset

    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)