Class HueOffsetRandomizer
Randomly offsets the hue of objects tagged with a ColorRandomizerTag
Inherited Members
Namespace: UnityEngine.Experimental.Perception.Randomization.Randomizers.SampleRandomizers
Syntax
[Serializable]
[AddRandomizerMenu("Perception/Hue Offset Randomizer")]
public class HueOffsetRandomizer : Randomizer
Fields
hueOffset
The range of hue offsets to assign to tagged objects
Declaration
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()