using System;
using UnityEngine.Scripting.APIUpdating;
namespace UnityEngine.Perception.Randomization.Scenarios
{
///
/// A class encapsulating the scenario constants fields required for Unity Simulation cloud execution
///
[Serializable]
[MovedFrom("UnityEngine.Experimental.Perception.Randomization.Scenarios")]
public class UnitySimulationScenarioConstants : ScenarioConstants
{
///
/// The total number of iterations to run a scenario for. At the start of each iteration, the timings for all Perception Cameras will be reset.
///
[Tooltip("The total number of iterations to run a scenario for. At the start of each iteration, the timings for all Perception Cameras will be reset.")]
public int totalIterations = 100;
///
/// The number of Unity Simulation instances assigned to execute this scenario. The total number of iterations (N) will be divided by the number of instances (M), so each instance will run for N/M iterations.
///
[Tooltip("The number of Unity Simulation instances assigned to execute this scenario. The total number of iterations (N) will be divided by the number of instances (M), so each instance will run for N/M iterations.")]
public int instanceCount = 1;
///
/// The Unity Simulation instance index of the currently executing worker.
///
[Tooltip("The Unity Simulation instance index of the currently executing worker.")]
public int instanceIndex;
}
}