|  | Catlike Coding
    Unity Code Documentation | 
Utility class that contains mathematical operations, constants, and arrays used by noise classes. More...
| Static Public Member Functions | |
| static float | Dot (Vector2 g, float x, float y) | 
| Dot product of two 2D vectors. More... | |
| static float | Dot (Vector3 g, float x, float y, float z) | 
| Dot product of two 3D vectors. More... | |
| static int | FloorToInt (float value) | 
| Fast float to floored int conversion. More... | |
| static float | Smooth (float t) | 
| Smoothing of interpolator. More... | |
| Public Attributes | |
| const int | gradientsMask2D = 15 | 
| Mask for indexing the 2D gradient array. More... | |
| const int | gradientsMask3D = 15 | 
| Mask for indexing the 3D gradient array. More... | |
| const int | hashMask = 255 | 
| Mask for indexing the hash array. More... | |
| Static Public Attributes | |
| static Vector2[] | gradients2D | 
| 2D gradient vector array. More... | |
| static Vector3[] | gradients3D | 
| 3D gradient vector array. More... | |
| static int[] | hash | 
| Permutation array used to find hash values. More... | |
Utility class that contains mathematical operations, constants, and arrays used by noise classes.
| 
 | static | 
Dot product of two 2D vectors.
| g | The first vector. | 
| x | The x coordinate of the second vector. | 
| y | The y coordinate of the second vector. | 
| 
 | static | 
Dot product of two 3D vectors.
| g | The first vector. | 
| x | The x coordinate of the second vector. | 
| y | The y coordinate of the second vector. | 
| z | The z coordinate of the second vector. | 
| 
 | static | 
Fast float to floored int conversion.
| value | Value. | 
| 
 | static | 
Smoothing of interpolator.
| t | Interpolation value. | 
| 
 | static | 
2D gradient vector array.
| 
 | static | 
3D gradient vector array.
| const int CatlikeCoding.Noise.NoiseMath.gradientsMask2D = 15 | 
Mask for indexing the 2D gradient array.
| const int CatlikeCoding.Noise.NoiseMath.gradientsMask3D = 15 | 
Mask for indexing the 3D gradient array.
| 
 | static | 
Permutation array used to find hash values.
| const int CatlikeCoding.Noise.NoiseMath.hashMask = 255 | 
Mask for indexing the hash array.
 1.8.5
 1.8.5