Class NoiseSettingsFactory
Inheritance
System.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
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 |
|---|---|---|
| System.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 |