Catlike Coding
Unity Code Documentation
|
A collection of methods to sample Voronoi Noise. More...
Static Public Member Functions | |
static Vector3 | SampleChebyshev2D (Vector2 point, float frequency) |
Sample 2D Squared Chebyshev noise. More... | |
static Vector3 | SampleChebyshev2D (Vector2 point, float frequency, int octaves, float lacunarity, float persistence) |
Sample multi-frequency 2D Chebyshev Voronoi noise. More... | |
static Vector3 | SampleChebyshev2DTiledX (Vector2 point, int xOffset, int frequency) |
Sample 2D Squared Chebyshev noise, tiled in the X dimension. More... | |
static Vector3 | SampleChebyshev2DTiledX (Vector2 point, Vector2 offset, int frequency, int octaves, int lacunarity, float persistence) |
Sample multi-frequency 2D Chebyshev Voronoi noise, tiled in the X dimension. More... | |
static Vector3 | SampleChebyshev2DTiledXY (Vector2 point, int xOffset, int yOffset, int frequency) |
Sample 2D Squared Chebyshev noise, tiled in both dimensions. More... | |
static Vector3 | SampleChebyshev2DTiledXY (Vector2 point, Vector2 offset, int frequency, int octaves, int lacunarity, float persistence) |
Sample multi-frequency 2D Chebyshev Voronoi noise, tiled in both dimension. More... | |
static Vector3 | SampleChebyshev3D (Vector3 point, float frequency) |
Sample 3D Squared Chebyshev noise. More... | |
static Vector3 | SampleChebyshev3D (Vector3 point, float frequency, int octaves, float lacunarity, float persistence) |
Sample multi-frequency 3D Chebyshev Voronoi noise. More... | |
static Vector3 | SampleChebyshev3DTiledX (Vector3 point, int xOffset, int frequency) |
Sample 3D Chebyshev Voronoi noise, tiled in the X dimension. More... | |
static Vector3 | SampleChebyshev3DTiledX (Vector3 point, Vector3 offset, int frequency, int octaves, int lacunarity, float persistence) |
Sample multi-frequency 3D Chebyshev Voronoi noise, tiled in the X dimension. More... | |
static Vector3 | SampleChebyshev3DTiledXY (Vector3 point, int xOffset, int yOffset, int frequency) |
Sample 3D Chebyshev Voronoi noise, tiled in the X and Y dimensions. More... | |
static Vector3 | SampleChebyshev3DTiledXY (Vector3 point, Vector3 offset, int frequency, int octaves, int lacunarity, float persistence) |
Sample multi-frequency 3D Chebyshev Voronoi noise, tiled in the X and Y dimension. More... | |
static Vector3 | SampleChebyshev3DTiledXYZ (Vector3 point, int xOffset, int yOffset, int zOffset, int frequency) |
Sample 3D Chebyshev Voronoi noise, tiled in all three dimensions. More... | |
static Vector3 | SampleChebyshev3DTiledXYZ (Vector3 point, Vector3 offset, int frequency, int octaves, int lacunarity, float persistence) |
Sample multi-frequency 3D Chebyshev Voronoi noise, tiled in all three dimension. More... | |
static Vector3 | SampleLinear2D (Vector2 point, float frequency, int octaves, float lacunarity, float persistence) |
Sample multi-frequency 2D Linear Voronoi noise. More... | |
static Vector3 | SampleLinear2DTiledX (Vector2 point, Vector2 offset, int frequency, int octaves, int lacunarity, float persistence) |
Sample multi-frequency 2D Linear Voronoi noise, tiled in the X dimension. More... | |
static Vector3 | SampleLinear2DTiledXY (Vector2 point, Vector2 offset, int frequency, int octaves, int lacunarity, float persistence) |
Sample multi-frequency 2D Linear Voronoi noise, tiled in both dimension. More... | |
static Vector3 | SampleLinear3D (Vector3 point, float frequency, int octaves, float lacunarity, float persistence) |
Sample multi-frequency 3D Linear Voronoi noise. More... | |
static Vector3 | SampleLinear3DTiledX (Vector3 point, Vector3 offset, int frequency, int octaves, int lacunarity, float persistence) |
Sample multi-frequency 3D Linear Voronoi noise, tiled in the X dimension. More... | |
static Vector3 | SampleLinear3DTiledXY (Vector3 point, Vector3 offset, int frequency, int octaves, int lacunarity, float persistence) |
Sample multi-frequency 3D Linear Voronoi noise, tiled in the X and Y dimension. More... | |
static Vector3 | SampleLinear3DTiledXYZ (Vector3 point, Vector3 offset, int frequency, int octaves, int lacunarity, float persistence) |
Sample multi-frequency 3D Linear Voronoi noise, tiled in all three dimension. More... | |
static Vector3 | SampleManhattan2D (Vector2 point, float frequency) |
Sample 2D Manhattan Voronoi noise. More... | |
static Vector3 | SampleManhattan2D (Vector2 point, float frequency, int octaves, float lacunarity, float persistence) |
Sample multi-frequency 2D Manhattan Voronoi noise. More... | |
static Vector3 | SampleManhattan2DTiledX (Vector2 point, int xOffset, int frequency) |
Sample 2D Manhattan Voronoi noise, tiled in the X dimension. More... | |
static Vector3 | SampleManhattan2DTiledX (Vector2 point, Vector2 offset, int frequency, int octaves, int lacunarity, float persistence) |
Sample multi-frequency 2D Manhattan Voronoi noise, tiled in the X dimension. More... | |
static Vector3 | SampleManhattan2DTiledXY (Vector2 point, int xOffset, int yOffset, int frequency) |
Sample 2D Manhattan Voronoi noise, tiled in both dimensions. More... | |
static Vector3 | SampleManhattan2DTiledXY (Vector2 point, Vector2 offset, int frequency, int octaves, int lacunarity, float persistence) |
Sample multi-frequency 2D Manhattan Voronoi noise, tiled in both dimensions. More... | |
static Vector3 | SampleManhattan3D (Vector3 point, float frequency) |
Sample 3D Manhattan Voronoi noise. More... | |
static Vector3 | SampleManhattan3D (Vector3 point, float frequency, int octaves, float lacunarity, float persistence) |
Sample multi-frequency 3D Manhattan Voronoi noise. More... | |
static Vector3 | SampleManhattan3DTiledX (Vector3 point, int xOffset, int frequency) |
Sample 3D Manhattan Voronoi noise, tiled in the X dimension. More... | |
static Vector3 | SampleManhattan3DTiledX (Vector3 point, Vector3 offset, int frequency, int octaves, int lacunarity, float persistence) |
Sample multi-frequency 3D Manhattan Voronoi noise, tiled in the X dimension. More... | |
static Vector3 | SampleManhattan3DTiledXY (Vector3 point, int xOffset, int yOffset, int frequency) |
Sample 3D Manhattan Voronoi noise, tiled in the X and Y dimensions. More... | |
static Vector3 | SampleManhattan3DTiledXY (Vector3 point, Vector3 offset, int frequency, int octaves, int lacunarity, float persistence) |
Sample multi-frequency 3D Manhattan Voronoi noise, tiled in the X and Y dimensions. More... | |
static Vector3 | SampleManhattan3DTiledXYZ (Vector3 point, int xOffset, int yOffset, int zOffset, int frequency) |
Sample 3D Manhattan Voronoi noise, tiled in all three dimensions. More... | |
static Vector3 | SampleManhattan3DTiledXYZ (Vector3 point, Vector3 offset, int frequency, int octaves, int lacunarity, float persistence) |
Sample multi-frequency 3D Manhattan Voronoi noise, tiled in all three dimensions. More... | |
static Vector3 | SampleSquared2D (Vector2 point, float frequency) |
Sample 2D Squared Voronoi noise. More... | |
static Vector3 | SampleSquared2D (Vector2 point, float frequency, int octaves, float lacunarity, float persistence) |
Sample multi-frequency 2D Squared Voronoi noise. More... | |
static Vector3 | SampleSquared2DTiledX (Vector2 point, int xOffset, int frequency) |
Sample 2D Squared Voronoi noise, tiled in the X dimension. More... | |
static Vector3 | SampleSquared2DTiledX (Vector2 point, Vector2 offset, int frequency, int octaves, int lacunarity, float persistence) |
Sample multi-frequency 2D Squared Voronoi noise, tiled in the X dimension. More... | |
static Vector3 | SampleSquared2DTiledXY (Vector2 point, int xOffset, int yOffset, int frequency) |
Sample 2D Squared Voronoi noise, tiled in both dimensions. More... | |
static Vector3 | SampleSquared2DTiledXY (Vector2 point, Vector2 offset, int frequency, int octaves, int lacunarity, float persistence) |
Sample multi-frequency 2D Squared Voronoi noise, tiled in both dimension. More... | |
static Vector3 | SampleSquared3D (Vector3 point, float frequency) |
Sample 3D Squared Voronoi noise. More... | |
static Vector3 | SampleSquared3D (Vector3 point, float frequency, int octaves, float lacunarity, float persistence) |
Sample multi-frequency 3D Squared Voronoi noise. More... | |
static Vector3 | SampleSquared3DTiledX (Vector3 point, int xOffset, int frequency) |
Sample 3D Squared Voronoi noise, tiled in the X dimension. More... | |
static Vector3 | SampleSquared3DTiledX (Vector3 point, Vector3 offset, int frequency, int octaves, int lacunarity, float persistence) |
Sample multi-frequency 3D Squared Voronoi noise, tiled in the X dimension. More... | |
static Vector3 | SampleSquared3DTiledXY (Vector3 point, int xOffset, int yOffset, int frequency) |
Sample 3D Squared Voronoi noise, tiled in the X and Y dimensions. More... | |
static Vector3 | SampleSquared3DTiledXY (Vector3 point, Vector3 offset, int frequency, int octaves, int lacunarity, float persistence) |
Sample multi-frequency 3D Squared Voronoi noise, tiled in the X and Y dimension. More... | |
static Vector3 | SampleSquared3DTiledXYZ (Vector3 point, int xOffset, int yOffset, int zOffset, int frequency) |
Sample 3D Squared Voronoi noise, tiled in all three dimensions. More... | |
static Vector3 | SampleSquared3DTiledXYZ (Vector3 point, Vector3 offset, int frequency, int octaves, int lacunarity, float persistence) |
Sample multi-frequency 3D Squared Voronoi noise, tiled in all three dimension. More... | |
A collection of methods to sample Voronoi Noise.
All noise methods instead produce values from 0 to 1.
Tiled versions have offsets used for moving the tiling area to another spot in the noise domain. For the tiling dimensions, the integer parts are used to offset the cells, while the fractional parts are used to offset sampling within the tile. Animating these offsets will result in popping when they cross integer boundaries as the sampling switches to another tile. Frequency and lacunarity are integers for the tiled versions because they must be aligned with cell boundaries.
Voronoi noise was first described by Steven Worley. It is also known as Worley noise and sometimes cell noise.
|
static |
Sample 2D Squared Chebyshev noise.
point | Sample point in 2D. |
frequency | Frequency of the noise. |
|
static |
Sample multi-frequency 2D Chebyshev Voronoi noise.
point | Sample point in 2D. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |
|
static |
Sample 2D Squared Chebyshev noise, tiled in the X dimension.
point | Sample point in 2D. |
xOffset | X offset of the tiling domain. |
frequency | Frequency of the noise. |
|
static |
Sample multi-frequency 2D Chebyshev Voronoi noise, tiled in the X dimension.
point | Sample point in 2D. |
offset | Offset of the tiling domain. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |
|
static |
Sample 2D Squared Chebyshev noise, tiled in both dimensions.
point | Sample point in 2D. |
xOffset | X offset of the tiling domain. |
yOffset | Y offset of the tiling domain. |
frequency | Frequency of the noise. |
|
static |
Sample multi-frequency 2D Chebyshev Voronoi noise, tiled in both dimension.
point | Sample point in 2D. |
offset | Offset of the tiling domain. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |
|
static |
Sample 3D Squared Chebyshev noise.
point | Sample point in 3D. |
frequency | Frequency of the noise. |
|
static |
Sample multi-frequency 3D Chebyshev Voronoi noise.
point | Sample point in 3D. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |
|
static |
Sample 3D Chebyshev Voronoi noise, tiled in the X dimension.
point | Sample point in 3D. |
xOffset | X offset of the tiling domain. |
frequency | Frequency of the noise. |
|
static |
Sample multi-frequency 3D Chebyshev Voronoi noise, tiled in the X dimension.
point | Sample point in 3D. |
offset | Offset of the tiling domain. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |
|
static |
Sample 3D Chebyshev Voronoi noise, tiled in the X and Y dimensions.
point | Sample point in 3D. |
xOffset | X offset of the tiling domain. |
yOffset | Y offset of the tiling domain. |
frequency | Frequency of the noise. |
|
static |
Sample multi-frequency 3D Chebyshev Voronoi noise, tiled in the X and Y dimension.
point | Sample point in 3D. |
offset | Offset of the tiling domain. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |
|
static |
Sample 3D Chebyshev Voronoi noise, tiled in all three dimensions.
point | Sample point in 3D. |
xOffset | X offset of the tiling domain. |
yOffset | Y offset of the tiling domain. |
zOffset | Z offset of the tiling domain. |
frequency | Frequency of the noise. |
|
static |
Sample multi-frequency 3D Chebyshev Voronoi noise, tiled in all three dimension.
point | Sample point in 3D. |
offset | Offset of the tiling domain. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |
|
static |
Sample multi-frequency 2D Linear Voronoi noise.
point | Sample point in 2D. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |
|
static |
Sample multi-frequency 2D Linear Voronoi noise, tiled in the X dimension.
point | Sample point in 2D. |
offset | Offset of the tiling domain. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |
|
static |
Sample multi-frequency 2D Linear Voronoi noise, tiled in both dimension.
point | Sample point in 2D. |
offset | Offset of the tiling domain. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |
|
static |
Sample multi-frequency 3D Linear Voronoi noise.
point | Sample point in 3D. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |
|
static |
Sample multi-frequency 3D Linear Voronoi noise, tiled in the X dimension.
point | Sample point in 3D. |
offset | Offset of the tiling domain. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |
|
static |
Sample multi-frequency 3D Linear Voronoi noise, tiled in the X and Y dimension.
point | Sample point in 3D. |
offset | Offset of the tiling domain. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |
|
static |
Sample multi-frequency 3D Linear Voronoi noise, tiled in all three dimension.
point | Sample point in 3D. |
offset | Offset of the tiling domain. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |
|
static |
Sample 2D Manhattan Voronoi noise.
point | Sample point in 2D. |
frequency | Frequency of the noise. |
|
static |
Sample multi-frequency 2D Manhattan Voronoi noise.
point | Sample point in 2D. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |
|
static |
Sample 2D Manhattan Voronoi noise, tiled in the X dimension.
point | Sample point in 2D. |
xOffset | X offset of the tiling domain. |
frequency | Frequency of the noise. |
|
static |
Sample multi-frequency 2D Manhattan Voronoi noise, tiled in the X dimension.
point | Sample point in 2D. |
offset | Offset of the tiling domain. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |
|
static |
Sample 2D Manhattan Voronoi noise, tiled in both dimensions.
point | Sample point in 2D. |
xOffset | X offset of the tiling domain. |
yOffset | Y offset of the tiling domain. |
frequency | Frequency of the noise. |
|
static |
Sample multi-frequency 2D Manhattan Voronoi noise, tiled in both dimensions.
point | Sample point in 2D. |
offset | Offset of the tiling domain. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |
|
static |
Sample 3D Manhattan Voronoi noise.
point | Sample point in 3D. |
frequency | Frequency of the noise. |
|
static |
Sample multi-frequency 3D Manhattan Voronoi noise.
point | Sample point in 3D. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |
|
static |
Sample 3D Manhattan Voronoi noise, tiled in the X dimension.
point | Sample point in 3D. |
xOffset | X offset of the tiling domain. |
frequency | Frequency of the noise. |
|
static |
Sample multi-frequency 3D Manhattan Voronoi noise, tiled in the X dimension.
point | Sample point in 3D. |
offset | Offset of the tiling domain. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |
|
static |
Sample 3D Manhattan Voronoi noise, tiled in the X and Y dimensions.
point | Sample point in 3D. |
xOffset | X offset of the tiling domain. |
yOffset | Y offset of the tiling domain. |
frequency | Frequency of the noise. |
|
static |
Sample multi-frequency 3D Manhattan Voronoi noise, tiled in the X and Y dimensions.
point | Sample point in 3D. |
offset | Offset of the tiling domain. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |
|
static |
Sample 3D Manhattan Voronoi noise, tiled in all three dimensions.
point | Sample point in 3D. |
xOffset | X offset of the tiling domain. |
yOffset | Y offset of the tiling domain. |
zOffset | Z offset of the tiling domain. |
frequency | Frequency of the noise. |
|
static |
Sample multi-frequency 3D Manhattan Voronoi noise, tiled in all three dimensions.
point | Sample point in 3D. |
offset | Offset of the tiling domain. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |
|
static |
Sample 2D Squared Voronoi noise.
point | Sample point in 2D. |
frequency | Frequency of the noise. |
|
static |
Sample multi-frequency 2D Squared Voronoi noise.
point | Sample point in 2D. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |
|
static |
Sample 2D Squared Voronoi noise, tiled in the X dimension.
point | Sample point in 2D. |
xOffset | X offset of the tiling domain. |
frequency | Frequency of the noise. |
|
static |
Sample multi-frequency 2D Squared Voronoi noise, tiled in the X dimension.
point | Sample point in 2D. |
offset | Offset of the tiling domain. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |
|
static |
Sample 2D Squared Voronoi noise, tiled in both dimensions.
point | Sample point in 2D. |
xOffset | X offset of the tiling domain. |
yOffset | Y offset of the tiling domain. |
frequency | Frequency of the noise. |
|
static |
Sample multi-frequency 2D Squared Voronoi noise, tiled in both dimension.
point | Sample point in 2D. |
offset | Offset of the tiling domain. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |
|
static |
Sample 3D Squared Voronoi noise.
point | Sample point in 3D. |
frequency | Frequency of the noise. |
|
static |
Sample multi-frequency 3D Squared Voronoi noise.
point | Sample point in 3D. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |
|
static |
Sample 3D Squared Voronoi noise, tiled in the X dimension.
point | Sample point in 3D. |
xOffset | X offset of the tiling domain. |
frequency | Frequency of the noise. |
|
static |
Sample multi-frequency 3D Squared Voronoi noise, tiled in the X dimension.
point | Sample point in 3D. |
offset | Offset of the tiling domain. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |
|
static |
Sample 3D Squared Voronoi noise, tiled in the X and Y dimensions.
point | Sample point in 3D. |
xOffset | X offset of the tiling domain. |
yOffset | Y offset of the tiling domain. |
frequency | Frequency of the noise. |
|
static |
Sample multi-frequency 3D Squared Voronoi noise, tiled in the X and Y dimension.
point | Sample point in 3D. |
offset | Offset of the tiling domain. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |
|
static |
Sample 3D Squared Voronoi noise, tiled in all three dimensions.
point | Sample point in 3D. |
xOffset | X offset of the tiling domain. |
yOffset | Y offset of the tiling domain. |
zOffset | Z offset of the tiling domain. |
frequency | Frequency of the noise. |
|
static |
Sample multi-frequency 3D Squared Voronoi noise, tiled in all three dimension.
point | Sample point in 3D. |
offset | Offset of the tiling domain. |
frequency | Base frequency. |
octaves | Amount of octaves. |
lacunarity | Frequency multiplier for successive octaves. |
persistence | Amplitude multiplier for succesive octaves. |