文档

Unity Engine

Unity Engine

snoise

Simplex noise. The method returns values approximately in the [-1, 1] range. The actual observed range can be slightly narrower.
阅读时间1 分钟最后更新于 1 个月前

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.