docs.unity.cn
    Show / Hide Table of Contents

    Class noise

    A static class containing noise functions.

    Inheritance
    Object
    noise
    Namespace: Unity.Mathematics
    Syntax
    public static class noise : object

    Methods

    Name Description
    cellular(float2)

    2D Cellular noise ("Worley noise") with standard 3x3 search window for good feature point values.

    cellular(float3)

    3D Cellular noise ("Worley noise") with 3x3x3 search region for good F2 everywhere, but a lot slower than the 2x2x2 version.

    cellular2x2(float2)

    2D Cellular noise ("Worley noise") with a 2x2 search window.

    cellular2x2x2(float3)

    3D Cellular noise ("Worley noise") with a 2x2x2 search window.

    cnoise(float2)

    Classic Perlin noise

    cnoise(float3)

    Classic Perlin noise

    cnoise(float4)

    Classic Perlin noise

    pnoise(float2, float2)

    Classic Perlin noise, periodic variant

    pnoise(float3, float3)

    Classic Perlin noise, periodic variant

    pnoise(float4, float4)

    Classic Perlin noise, periodic variant

    psrdnoise(float2, float2)

    2-D tiling simplex noise with fixed gradients and analytical derivative.

    psrdnoise(float2, float2, Single)

    2-D tiling simplex noise with rotating gradients and analytical derivative.

    psrnoise(float2, float2)

    2-D tiling simplex noise with fixed gradients, without the analytical derivative.

    psrnoise(float2, float2, Single)

    2-D tiling simplex noise with rotating gradients, but without the analytical derivative.

    snoise(float2)

    Simplex noise.

    snoise(float3)

    Simplex noise.

    snoise(float3, out float3)

    Simplex noise.

    snoise(float4)

    Simplex noise.

    srdnoise(float2)

    2-D non-tiling simplex noise with fixed gradients and analytical derivative.

    srdnoise(float2, Single)

    2-D non-tiling simplex noise with rotating gradients and analytical derivative.

    srnoise(float2)

    2-D non-tiling simplex noise with fixed gradients, without the analytical derivative.

    srnoise(float2, Single)

    2-D non-tiling simplex noise with rotating gradients, without the analytical derivative.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, March 29, 2022
    Terms of use