Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


srnoise

2-D non-tiling simplex noise with rotating gradients, without the analytical derivative.
Read time 1 minuteLast updated 13 days ago

Definition

srnoise(float2, float)

2-D non-tiling simplex noise with rotating gradients, without the analytical derivative.
public static float srnoise(float2 pos, float rot)

Parameters

Input (x,y) coordinate.

Angle to rotate the gradients.

Returns

Type

Description

floatNoise value.

srnoise(float2)

2-D non-tiling simplex noise with fixed gradients, without the analytical derivative.
public static float srnoise(float2 pos)

Parameters

Input (x,y) coordinate.

Returns

Type

Description

floatNoise value.