docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class HueOffsetRandomizer

    Randomly offsets the hue of objects tagged with a ColorRandomizerTag

    Inheritance
    object
    Randomizer
    HueOffsetRandomizer
    Inherited Members
    Randomizer.enabled
    Randomizer.enabledStateCanBeSwitchedByUser
    Randomizer.scenario
    Randomizer.tagManager
    Randomizer.Query<T>()
    Randomizer.OnCreate()
    Randomizer.OnAwake()
    Randomizer.OnEnable()
    Randomizer.OnDisable()
    Randomizer.OnScenarioStart()
    Randomizer.OnScenarioComplete()
    Randomizer.OnIterationEnd()
    Randomizer.OnStartRunning()
    Randomizer.OnStopRunning()
    Randomizer.OnUpdate()
    Randomizer.OnDestroy()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Perception.Randomization.Randomizers
    Assembly: Unity.Perception.Runtime.dll
    Syntax
    [Serializable]
    [AddRandomizerMenu("Perception/Hue Offset Randomizer")]
    [MovedFrom("UnityEngine.Perception.Randomization.Randomizers.SampleRandomizers")]
    public class HueOffsetRandomizer : Randomizer

    Fields

    hueOffset

    The range of random hue offsets to assign to target objects

    Declaration
    [Tooltip("The range of random hue offsets to assign to target objects.")]
    public FloatParameter hueOffset
    Field Value
    Type Description
    FloatParameter

    Methods

    OnIterationStart()

    Randomizes the hue offset of tagged objects at the start of each scenario iteration

    Declaration
    protected override void OnIterationStart()
    Overrides
    Randomizer.OnIterationStart()
    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)