文档

Unity Engine

Unity Engine

pnoise

Classic Perlin noise, periodic variant
阅读时间1 分钟最后更新于 1 个月前

Definition

pnoise(float2, float2)

Classic Perlin noise, periodic variant
public static float pnoise(float2 P, float2 rep)

Parameters

Point on a 2D grid of gradient vectors.

Period of repetition.

Returns

Type

Description

floatNoise value.

pnoise(float3, float3)

Classic Perlin noise, periodic variant
public static float pnoise(float3 P, float3 rep)

Parameters

Point on a 3D grid of gradient vectors.

Period of repetition.

Returns

Type

Description

floatNoise value.

pnoise(float4, float4)

Classic Perlin noise, periodic variant
public static float pnoise(float4 P, float4 rep)

Parameters

Point on a 4D grid of gradient vectors.

Period of repetition.

Returns

Type

Description

floatNoise value.