docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor UniformSampler

    UniformSampler(float, float, uint)

    Constructs a new uniform distribution sampler

    Declaration
    public UniformSampler(float min, float max, 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

    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)