Class RotationRandomizer
Randomizes the rotation of objects tagged with a RotationRandomizerTag
Inherited Members
Namespace: UnityEngine.Experimental.Perception.Randomization.Randomizers.SampleRandomizers
Syntax
[Serializable]
[AddRandomizerMenu("Perception/Rotation Randomizer")]
public class RotationRandomizer : Randomizer
Fields
rotation
Defines the range of random rotations that can be assigned to tagged 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()