namespace UnityEditor.TerrainTools
{
///
/// A NoiseType implementation for Perlin noise
///
[System.Serializable]
internal class PerlinNoise : NoiseType
{
private static NoiseTypeDescriptor desc = new NoiseTypeDescriptor()
{
name = "Perlin",
outputDir = "Packages/com.unity.terrain-tools/Shaders/NoiseLib",
sourcePath = "Packages/com.unity.terrain-tools/Shaders/NoiseLib/Implementation/PerlinImpl.hlsl",
supportedDimensions = NoiseDimensionFlags._1D | NoiseDimensionFlags._2D | NoiseDimensionFlags._3D,
inputStructDefinition = null
};
public override NoiseTypeDescriptor GetDescription() => desc;
}
}