Class MaterialSwapperRandomizer
Randomizes the material of objects tagged with a MaterialSwapperRandomizerTag
Inherited Members
Namespace: UnityEngine.Perception.Randomization.Randomizers
Assembly: Unity.Perception.Runtime.dll
Syntax
[Serializable]
[MovedFrom("UnityEngine.Perception.Internal")]
[AddRandomizerMenu("Perception/Material Swapper")]
public class MaterialSwapperRandomizer : Randomizer
Methods
OnIterationStart()
At the start of each iteration, call the Randomize function on all found MaterialSwapperRandomizerTag's.
Declaration
protected override void OnIterationStart()