snoise
Simplex noise. The method returns values approximately in the [-1, 1] range. The actual observed range can be slightly narrower.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
snoise(float2)
Simplex noise. The method returns values approximately in the [-1, 1] range. The actual observed range can be slightly narrower.
public static float snoise(float2 v)
Parameters
Input coordinate.
Returns
Type | Description |
|---|---|
| float | Noise value. |
snoise(float3)
Simplex noise. The method returns values approximately in the [-1, 1] range. The actual observed range can be slightly narrower.
public static float snoise(float3 v)
Parameters
Input coordinate.
Returns
Type | Description |
|---|---|
| float | Noise value. |
snoise(float3, float3)
Simplex noise. The method returns values approximately in the [-1, 1] range. The actual observed range can be slightly narrower.
public static float snoise(float3 v, out float3 gradient)
Parameters
Returns
Type | Description |
|---|---|
| float | Noise value. |
snoise(float4)
Simplex noise. The method returns values approximately in the [-1, 1] range. The actual observed range can be slightly narrower.
public static float snoise(float4 v)
Parameters
Input coordinate.
Returns
Type | Description |
|---|---|
| float | Noise value. |