docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ColorHsvaParameter

    A numeric parameter for generating color samples using HSVA samplers

    Inheritance
    object
    Parameter
    NumericParameter<Color>
    ColorHsvaParameter
    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 ColorHsvaParameter : NumericParameter<Color>

    Fields

    Name Description
    alpha

    The sampler used for randomizing the alpha component of generated samples

    hue

    The sampler used for randomizing the hue component of generated samples

    saturation

    The sampler used for randomizing the saturation component of generated samples

    value

    The sampler used for randomizing the value component of generated samples

    Methods

    Name Description
    Sample()

    Generates an RGBA color sample

    SampleHsva()

    Generates an HSVA color sample

    Samples(int, out JobHandle)

    Schedules a job to generate an array of RGBA color samples

    SamplesHsva(int, out JobHandle)

    Schedules a job to generate an array of HSVA color 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)