docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ProfileFactory

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

    Inheritance
    object
    ProfileFactory
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Rendering.PostProcessing
    Assembly: Unity.Postprocessing.Editor.dll
    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

    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
    string path

    The path to use relative to the project folder

    Returns
    Type Description
    PostProcessProfile

    The newly created profile

    In This Article
    Back to top
    Copyright © 2025 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)