docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Vector2Parameter

    A numeric parameter for generating Vector2 samples

    Inheritance
    object
    Parameter
    NumericParameter<Vector2>
    Vector2Parameter
    Inherited Members
    NumericParameter<Vector2>.sampleType
    NumericParameter<Vector2>.GenericSample()
    NumericParameter<Vector2>.Validate()
    Parameter.GetDisplayName(Type)
    Parameter.ResetState()
    Parameter.IterateState(int)
    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 class Vector2Parameter : NumericParameter<Vector2>

    Fields

    Name Description
    x

    The sampler used for randomizing the x component of generated samples

    y

    The sampler used for randomizing the y component of generated samples

    Methods

    Name Description
    Sample()

    Generates a Vector2 sample

    Samples(int, out JobHandle)

    Schedules a job to generate an array of samples

    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)