docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateCustomPass

    CreateCustomPass(GameObject, CustomPassDescriptor)

    Look for existing custom passes on the parent gameobject. Build a custom pass on a GameObject and keep a reference to it in the descriptor.

    Declaration
    public static void CreateCustomPass(GameObject gameObject, CustomPassDescriptor desc)
    Parameters
    Type Name Description
    GameObject gameObject

    Object that will contain the custom pass.

    CustomPassDescriptor desc

    Description of the custom pass.

    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)