Class NoiseSettingsFactory | Terrain Tools | 3.0.2-preview.3
docs.unity3d.com
    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 © 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