docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor NormalSampler

    NormalSampler(float, float, float, float, uint)

    Constructs a normal distribution sampler

    Declaration
    public NormalSampler(float min, float max, float mean, float standardDeviation, uint baseSeed = 539662031)
    Parameters
    Type Name Description
    float min

    The smallest value contained within the range

    float max

    The largest value contained within the range

    float mean

    The mean of the normal distribution to sample from

    float standardDeviation

    The standard deviation of the normal distribution to sample from

    uint baseSeed

    The base random seed to use for this sampler

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)