Class UnitySimulationScenarioConstants
A class encapsulating the scenario constants fields required for Unity Simulation cloud execution
Inherited Members
Namespace: UnityEngine.Perception.Randomization.Scenarios
Syntax
public class UnitySimulationScenarioConstants : ScenarioConstants
Fields
instanceCount
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.
Declaration
public int instanceCount
Field Value
| Type | Description |
|---|---|
| Int32 |
instanceIndex
The Unity Simulation instance index of the currently executing worker.
Declaration
public int instanceIndex
Field Value
| Type | Description |
|---|---|
| Int32 |
totalIterations
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.
Declaration
public int totalIterations
Field Value
| Type | Description |
|---|---|
| Int32 |