Class ColorRandomizer
Randomizes the material color of objects tagged with a ColorRandomizerTag
Inherited Members
Namespace: UnityEngine.Perception.Randomization.Randomizers.SampleRandomizers
Syntax
public class ColorRandomizer : Randomizer
Fields
colorParameter
The range of random colors to assign to target objects
Declaration
public ColorHsvaParameter colorParameter
Field Value
Type | Description |
---|---|
ColorHsvaParameter |
Methods
OnIterationStart()
Randomizes the colors of tagged objects at the start of each scenario iteration
Declaration
protected override void OnIterationStart()