Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


psrnoise

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

Definition

psrnoise(float2, float2, float)

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

Parameters

Input (x,y) coordinate.

The x and y period, where per.x is a positive integer and per.y is a positive even integer.

Angle to rotate the gradients.

Returns

Type

Description

floatNoise value.

psrnoise(float2, float2)

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

Parameters

Input (x,y) coordinate.

The x and y period, where per.x is a positive integer and per.y is a positive even integer.

Returns

Type

Description

floatNoise value.