interface INoiseField
in global :: Sandbox . Utility
A noise function that can be sampled at a 1-, 2-, or 3D position. Samples will be between 0 and 1. Thread-safe.
public float Sample( float x )
Sample at a 1D position.
- Returns A noise value between 0 and 1.
public float Sample( float x, float y )
Sample at a 2D position.
- Returns A noise value between 0 and 1.
public float Sample( float x, float y, float z )
Sample at a 3D position.
- Returns A noise value between 0 and 1.
public float Sample( Vector2 vec )
Sample at a 2D position.
- Returns A noise value between 0 and 1.
public float Sample( Vector3 vec )
Sample at a 3D position.
- Returns A noise value between 0 and 1.