Class NoiseSettingsFactory | Terrain Tools | 3.0.2-preview.3
docs.unity.cn
    Show / Hide Table of Contents

    Class NoiseSettingsFactory

    Inheritance
    Object
    NoiseSettingsFactory
    Namespace: UnityEditor.Experimental.TerrainAPI
    Syntax
    public class NoiseSettingsFactory

    Methods

    CreateAsset()

    Creates a new NoiseSettings Asset in the root Assets folder. This is the function accessible via the "Assets/Create/Noise Settings" MenuItem

    Declaration
    [MenuItem("Assets/Create/Noise Settings")]
    public static NoiseSettings CreateAsset()
    Returns
    Type Description
    NoiseSettings

    A reference to the newly created NoiseSettings Asset

    CreateAsset(String)

    Creates a new NoiseSettings Asset at the specified Asset path

    Declaration
    public static NoiseSettings CreateAsset(string assetPath)
    Parameters
    Type Name Description
    String assetPath

    The path in the AssetDatabase where the new NoiseSettings Asset should be saved

    Returns
    Type Description
    NoiseSettings

    A reference to the newly created NoiseSettings Asset

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 10 November 2020