浏览代码

A couple of changes to scenario

/fod_generator_randomization_changes
Steven Borkman 4 年前
当前提交
6f2d79a2
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 2
      com.unity.perception/Runtime/Randomization/Scenarios/ScenarioBase.cs
  2. 2
      com.unity.perception/Runtime/Randomization/Scenarios/ScenarioConstants.cs

2
com.unity.perception/Runtime/Randomization/Scenarios/ScenarioBase.cs


void Start()
{
currentIteration = (int)genericConstants.startFrame;
var randomSeedMetricDefinition = DatasetCapture.RegisterMetricDefinition(
"random-seed",
"The random seed used to initialize the random state of the simulation. Only triggered once per simulation.",

2
com.unity.perception/Runtime/Randomization/Scenarios/ScenarioConstants.cs


/// </summary>
[Tooltip("The starting value initializing all random value sequences generated through Samplers, Parameters, and Randomizers attached to a Scenario")]
public uint randomSeed = SamplerUtility.largePrime;
public uint startFrame = 0;
}
}
正在加载...
取消
保存