Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


snoise

Simplex noise. The method returns values approximately in the [-1, 1] range. The actual observed range can be slightly narrower.
Read time 1 minuteLast updated 12 days ago

Definition

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

floatNoise 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

floatNoise 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

Input coordinate.

gradient

Output 3D noise gradient.

Returns

Type

Description

floatNoise 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

floatNoise value.