docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NumericParameter<T>

    Numeric parameters use samplers to generate randomized structs

    Inheritance
    object
    Parameter
    NumericParameter<T>
    BooleanParameter
    ColorHsvaParameter
    ColorRgbParameter
    FloatParameter
    IntegerParameter
    Vector2Parameter
    Vector3Parameter
    Vector4Parameter
    Inherited Members
    Parameter.GetDisplayName(Type)
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.Perception.Randomization.Parameters
    Assembly: solution.dll
    Syntax
    [Serializable]
    public abstract class NumericParameter<T> : Parameter where T : struct
    Type Parameters
    Name Description
    T

    The sample type of the parameter

    Properties

    Name Description
    sampleType

    The sample type of parameter

    Methods

    Name Description
    GenericSample()

    Generates a generic sample

    Sample()

    Generates one parameter sample

    Validate()

    Validate the settings of this parameter

    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)