docs.unity3d.com
    Show / Hide Table of Contents

    Class FloatParameter

    A numeric parameter for generating float samples

    Inheritance
    Object
    Parameter
    NumericParameter<Single>
    FloatParameter
    Inherited Members
    NumericParameter<Single>.sampleType
    NumericParameter<Single>.GenericSample()
    NumericParameter<Single>.Validate()
    Parameter.GetDisplayName(Type)
    Namespace: UnityEngine.Perception.Randomization.Parameters
    Syntax
    public class FloatParameter : NumericParameter<float>

    Fields

    value

    The sampler used to generate random float values

    Declaration
    public ISampler value
    Field Value
    Type Description
    ISampler

    Methods

    Sample()

    Generates a float sample

    Declaration
    public override float Sample()
    Returns
    Type Description
    Single

    The generated sample

    Overrides
    UnityEngine.Perception.Randomization.Parameters.NumericParameter<System.Single>.Sample()
    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