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