Firstborn/Library/PackageCache/com.unity.terrain-tools@4.0.5/Editor/TerrainTools/NoiseLib/PerlinNoise.cs
Schaken-Mods 4ff395c862 Finished the NPC Creator tool
Finished the NPC Creator tool
2023-04-27 18:37:28 -05:00

20 lines
756 B
C#

namespace UnityEditor.TerrainTools
{
/// <summary>
/// A NoiseType implementation for Perlin noise
/// </summary>
[System.Serializable]
internal class PerlinNoise : NoiseType<PerlinNoise>
{
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;
}
}