docs.unity3d.com
    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)
    Namespace: UnityEngine.Perception.Randomization.Parameters
    Syntax
    public class ColorRgbParameter : NumericParameter<Color>

    Fields

    alpha

    The sampler used for randomizing the alpha component of generated samples

    Declaration
    public ISampler alpha
    Field Value
    Type Description
    ISampler

    blue

    The sampler used for randomizing the blue component of generated samples

    Declaration
    public ISampler blue
    Field Value
    Type Description
    ISampler

    green

    The sampler used for randomizing the green component of generated samples

    Declaration
    public ISampler green
    Field Value
    Type Description
    ISampler

    red

    The sampler used for randomizing the red component of generated samples

    Declaration
    public ISampler red
    Field Value
    Type Description
    ISampler

    Methods

    Sample()

    Generates an RGBA color sample

    Declaration
    public override Color Sample()
    Returns
    Type Description
    Color

    The generated RGBA sample

    Overrides
    UnityEngine.Perception.Randomization.Parameters.NumericParameter<Color>.Sample()
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023