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