docs.unity3d.com
    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
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023