Class RotationRandomizer
Randomizes the rotation of objects tagged with a RotationRandomizerTag
Inherited Members
Namespace: UnityEngine.Perception.Randomization.Randomizers.SampleRandomizers
Assembly: solution.dll
Syntax
[Serializable]
[AddRandomizerMenu("Perception/Rotation Randomizer")]
public class RotationRandomizer : Randomizer
Fields
| Name | Description |
|---|---|
| rotation | The range of random rotations to assign to target objects |
Methods
| Name | Description |
|---|---|
| OnIterationStart() | Randomizes the rotation of tagged objects at the start of each scenario iteration |