docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ColorRgbParameter

    A numeric parameter for generating RGBA color samples

    Inheritance
    object
    Parameter
    NumericParameter<Color>
    ColorRgbParameter
    Inherited Members
    NumericParameter<Color>.sampleType
    NumericParameter<Color>.GenericSample()
    NumericParameter<Color>.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 ColorRgbParameter : NumericParameter<Color>

    Fields

    Name Description
    alpha

    The sampler used for randomizing the alpha component of generated samples

    blue

    The sampler used for randomizing the blue component of generated samples

    green

    The sampler used for randomizing the green component of generated samples

    red

    The sampler used for randomizing the red component of generated samples

    Methods

    Name Description
    Sample()

    Generates an RGBA color 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)