4ff395c862
Finished the NPC Creator tool
20 lines
751 B
C#
20 lines
751 B
C#
namespace UnityEditor.TerrainTools
|
|
{
|
|
/// <summary>
|
|
/// A NoiseType implementation for Value noise
|
|
/// </summary>
|
|
[System.Serializable]
|
|
internal class ValueNoise : NoiseType<ValueNoise>
|
|
{
|
|
private static NoiseTypeDescriptor desc = new NoiseTypeDescriptor()
|
|
{
|
|
name = "Value",
|
|
outputDir = "Packages/com.unity.terrain-tools/Shaders/NoiseLib",
|
|
sourcePath = "Packages/com.unity.terrain-tools/Shaders/NoiseLib/Implementation/ValueImpl.hlsl",
|
|
supportedDimensions = NoiseDimensionFlags._1D | NoiseDimensionFlags._2D | NoiseDimensionFlags._3D,
|
|
inputStructDefinition = null
|
|
};
|
|
|
|
public override NoiseTypeDescriptor GetDescription() => desc;
|
|
}
|
|
} |