Class HueOffsetRandomizer
Randomly offsets the hue of objects tagged with a ColorRandomizerTag
Inherited Members
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()