Class ProfileFactory | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class ProfileFactory

    An utility class to help the creation of new post-processing profile assets.

    Inheritance
    System.Object
    ProfileFactory
    Namespace: UnityEditor.Rendering.PostProcessing
    Syntax
    public sealed class ProfileFactory

    Methods

    CreatePostProcessProfile(Scene, String)

    Creates a post-processing profile asset and automatically put it in a sub folder next to the given scene.

    Declaration
    public static PostProcessProfile CreatePostProcessProfile(Scene scene, string targetName)
    Parameters
    Type Name Description
    Scene scene

    A scene

    System.String targetName

    A name for the new profile

    Returns
    Type Description
    PostProcessProfile

    The newly created profile

    CreatePostProcessProfileAtPath(String)

    Creates a post-processing profile asset at the given location.

    Declaration
    public static PostProcessProfile CreatePostProcessProfileAtPath(string path)
    Parameters
    Type Name Description
    System.String path

    The path to use relative to the project folder

    Returns
    Type Description
    PostProcessProfile

    The newly created profile

    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