docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ColorRandomizer

    Randomizes the material color of objects tagged with a ColorRandomizerTag

    Inheritance
    object
    Randomizer
    ColorRandomizer
    Inherited Members
    Randomizer.enabled
    Randomizer.scenario
    Randomizer.tagManager
    Randomizer.OnCreate()
    Randomizer.OnIterationEnd()
    Randomizer.OnScenarioComplete()
    Randomizer.OnStartRunning()
    Randomizer.OnStopRunning()
    Randomizer.OnUpdate()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.Experimental.Perception.Randomization.Randomizers.SampleRandomizers
    Assembly: solution.dll
    Syntax
    [Serializable]
    [AddRandomizerMenu("Perception/Color Randomizer")]
    public class ColorRandomizer : Randomizer

    Fields

    Name Description
    colorParameter

    Describes the range of random colors to assign to tagged objects

    Methods

    Name Description
    OnIterationStart()

    Randomizes the colors of tagged objects at the start of each scenario iteration

    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)