Class VolumeProfileFactory | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Class VolumeProfileFactory

    Inheritance
    System.Object
    VolumeProfileFactory
    Namespace: UnityEditor.Rendering
    Syntax
    public static class VolumeProfileFactory

    Methods

    CreateVolumeComponent<T>(VolumeProfile, Boolean, Boolean)

    Declaration
    public static T CreateVolumeComponent<T>(VolumeProfile profile, bool overrides = false, bool saveAsset = true)
        where T : VolumeComponent
    Parameters
    Type Name Description
    VolumeProfile profile
    System.Boolean overrides
    System.Boolean saveAsset
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    CreateVolumeProfile(Scene, String)

    Declaration
    public static VolumeProfile CreateVolumeProfile(Scene scene, string targetName)
    Parameters
    Type Name Description
    Scene scene
    System.String targetName
    Returns
    Type Description
    VolumeProfile

    CreateVolumeProfileAtPath(String)

    Declaration
    public static VolumeProfile CreateVolumeProfileAtPath(string path)
    Parameters
    Type Name Description
    System.String path
    Returns
    Type Description
    VolumeProfile
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX