ドキュメント

Unity Engine

Unity Engine

srdnoise

2-D non-tiling simplex noise with rotating gradients and analytical derivative.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

srdnoise(float2, float)

2-D non-tiling simplex noise with rotating gradients and analytical derivative.
public static float3 srdnoise(float2 pos, float rot)

Parameters

Input (x,y) coordinate.

Angle to rotate the gradients.

Returns

Type

Description

float3The first component of the 3-element return vector is the noise value, and the second and third components are the x and y partial derivatives.

srdnoise(float2)

2-D non-tiling simplex noise with fixed gradients and analytical derivative.
public static float3 srdnoise(float2 pos)

Parameters

Input (x,y) coordinate.

Returns

Type

Description

float3The first component of the 3-element return vector is the noise value, and the second and third components are the x and y partial derivatives.