docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Parameter

    Parameters, in conjunction with a parameter configuration, are used to create convenient interfaces for randomizing simulations.

    Inheritance
    object
    Parameter
    CategoricalParameterBase
    NumericParameter<T>
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.Experimental.Perception.Randomization.Parameters
    Assembly: solution.dll
    Syntax
    [Serializable]
    public abstract class Parameter

    Constructors

    Name Description
    Parameter()

    Constructs a new parameter

    Properties

    Name Description
    sampleType

    The sample type generated by this parameter

    Methods

    Name Description
    GenericSample()

    Generates a generic sample

    GetDisplayName(Type)

    Returns the display name of a parameter type

    IterateState(int)

    Offsets the state of each sampler employed by this parameter

    ResetState()

    Resets the state of each sampler employed by this parameter

    Validate()

    Validates parameter settings

    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)