docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Namespace UnityEngine.Perception.Randomization.Samplers

    Classes

    AnimationCurveSampler

    Returns random values according to a range and probability distribution denoted by a user provided AnimationCurve. The X axis of the AnimationCurve corresponds to the values this sampler will pick from, and the Y axis corresponds to the relative probability of the values. The relative probabilities (Y axis) do not need to max out at 1, as only the shape of the curve matters. The Y values cannot however be negative.

    ConstantSampler

    Returns a constant value when sampled

    NormalSampler

    Returns normally distributed random values bounded within a specified range https://en.wikipedia.org/wiki/Truncated_normal_distribution

    SamplerState

    Encapsulates the random state that all samplers mutate when generating random values

    SamplerUtility

    A set of utility functions for defining sampler interfaces

    UniformSampler

    Returns uniformly distributed random values within a designated range.

    Structs

    FloatRange

    A struct representing a continuous range of values

    Interfaces

    ISampler

    Generates random values from probability distributions

    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)