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

    Fields

    Name Description
    name

    The name of the parameter

    target

    The target this parameter apply a sample to

    Properties

    Name Description
    hasTarget

    Indicates whether this parameter has a target GameObject

    sampleType

    The sample type generated by this parameter

    samplers

    An array containing a reference to each sampler field in this parameter

    Methods

    Name Description
    GetDisplayName(Type)

    Returns the display name of a parameter type

    ResetState(int)

    Resets sampler states and then offsets those states using the current scenario iteration

    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)