docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Vector3Parameter

    A numeric parameter for generating Vector3 samples

    Inheritance
    object
    Parameter
    NumericParameter<Vector3>
    Vector3Parameter
    Inherited Members
    NumericParameter<Vector3>.sampleType
    NumericParameter<Vector3>.GenericSample()
    NumericParameter<Vector3>.Validate()
    Parameter.GetDisplayName(Type)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Perception.Randomization.Parameters
    Assembly: Unity.Perception.Runtime.dll
    Syntax
    [Serializable]
    public class Vector3Parameter : NumericParameter<Vector3>

    Fields

    x

    The sampler used for randomizing the x component of generated samples

    Declaration
    [SerializeReference]
    public ISampler x
    Field Value
    Type Description
    ISampler

    y

    The sampler used for randomizing the y component of generated samples

    Declaration
    [SerializeReference]
    public ISampler y
    Field Value
    Type Description
    ISampler

    z

    The sampler used for randomizing the z component of generated samples

    Declaration
    [SerializeReference]
    public ISampler z
    Field Value
    Type Description
    ISampler

    Properties

    samplers

    Returns an IEnumerable that iterates over each sampler field in this parameter

    Declaration
    public override IEnumerable<ISampler> samplers { get; }
    Property Value
    Type Description
    IEnumerable<ISampler>
    Overrides
    Parameter.samplers

    Methods

    Sample()

    Generates a Vector3 sample

    Declaration
    public override Vector3 Sample()
    Returns
    Type Description
    Vector3

    The generated sample

    Overrides
    NumericParameter<Vector3>.Sample()
    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)