docs.unity.cn
    Show / Hide Table of Contents

    Method cellular

    cellular(float2)

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

    Declaration
    public static float2 cellular(float2 P)
    Parameters
    Type Name Description
    float2 P

    A point in 2D space.

    Returns
    Type Description
    float2

    Feature points. F1 is in the x component, F2 in the y component.

    cellular(float3)

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

    Declaration
    public static float2 cellular(float3 P)
    Parameters
    Type Name Description
    float3 P

    A point in 2D space.

    Returns
    Type Description
    float2

    Feature points. F1 is in the x component, F2 in the y component.

    Back to top
    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