Documentation error: c# API noise

PerlinNoise is described as a method, but is actually a class that can be used to generate noise with the Sample method (https://github.com/FlaxEngine/FlaxEngine/blob/master/Source/Engine/Utilities/PerlinNoise.cs). It also shows as returning a value 0 to 1, but a sample is actually -1 to 1 multiplied by amount and offset by baseValue.

The current page appears to reflect an implementation of the cpp noise in C#, but that is not what currently exists.

Yeah PerlinNoise was an editor-only utility for terrain usage but we moved it to C# API at some point. Noise is meant to be used by C#/C++/Visual scripts for different noise types.

OK thanks, I’m using it for terrains and it works well, so please don’t remove it :slight_smile: Just the documentation was confusing until I looked at the source.