Steven Leal
4 年前
当前提交
78e49904
共有 27 个文件被更改,包括 183 次插入 和 366 次删除
-
2com.unity.perception/Editor/Randomization/Editors/RunInUnitySimulationWindow.cs
-
1com.unity.perception/Editor/Randomization/Uxml/Parameter/CategoricalParameterTemplate.uxml
-
3com.unity.perception/Editor/Randomization/VisualElements/Parameter/ParameterElement.cs
-
6com.unity.perception/Editor/Randomization/VisualElements/Randomizer/RandomizerList.cs
-
7com.unity.perception/Editor/Randomization/VisualElements/Sampler/SamplerElement.cs
-
49com.unity.perception/Runtime/Randomization/Parameters/Parameter.cs
-
6com.unity.perception/Runtime/Randomization/Randomizers/Randomizer.cs
-
2com.unity.perception/Runtime/Randomization/Randomizers/RandomizerExamples/Randomizers/BackgroundObjectPlacementRandomizer.cs
-
2com.unity.perception/Runtime/Randomization/Randomizers/RandomizerExamples/Randomizers/ForegroundObjectPlacementRandomizer.cs
-
24com.unity.perception/Runtime/Randomization/Samplers/ISampler.cs
-
61com.unity.perception/Runtime/Randomization/Samplers/SamplerTypes/ConstantSampler.cs
-
84com.unity.perception/Runtime/Randomization/Samplers/SamplerTypes/NormalSampler.cs
-
77com.unity.perception/Runtime/Randomization/Samplers/SamplerTypes/UniformSampler.cs
-
46com.unity.perception/Runtime/Randomization/Samplers/SamplerUtility.cs
-
2com.unity.perception/Runtime/Randomization/Scenarios/FixedLengthScenario.cs
-
6com.unity.perception/Runtime/Randomization/Scenarios/Scenario.cs
-
52com.unity.perception/Runtime/Randomization/Scenarios/ScenarioBase.cs
-
24com.unity.perception/Runtime/Randomization/Scenarios/UnitySimulationScenario.cs
-
2com.unity.perception/Tests/Runtime/Randomization/SamplerTests/ConstantSamplerTests.cs
-
17com.unity.perception/Tests/Runtime/Randomization/SamplerTests/SamplerTestsBase.cs
-
7com.unity.perception/Tests/Runtime/Randomization/ScenarioTests.cs
-
11com.unity.perception/Runtime/Randomization/Scenarios/ScenarioConstants.cs
-
3com.unity.perception/Runtime/Randomization/Scenarios/ScenarioConstants.cs.meta
-
26com.unity.perception/Runtime/Randomization/Scenarios/UnitySimulationScenarioConstants.cs
-
3com.unity.perception/Runtime/Randomization/Scenarios/UnitySimulationScenarioConstants.cs.meta
-
15com.unity.perception/Editor/Randomization/VisualElements/Sampler/RandomSeedField.cs
-
11com.unity.perception/Editor/Randomization/VisualElements/Sampler/RandomSeedField.cs.meta
|
|||
using System; |
|||
using UnityEngine.Experimental.Perception.Randomization.Samplers; |
|||
|
|||
namespace UnityEngine.Experimental.Perception.Randomization.Scenarios |
|||
{ |
|||
[Serializable] |
|||
public class ScenarioConstants |
|||
{ |
|||
public uint randomSeed = SamplerUtility.largePrime; |
|||
} |
|||
} |
|
|||
fileFormatVersion: 2 |
|||
guid: a38190d91c3848f98817192bad820027 |
|||
timeCreated: 1608664905 |
|
|||
using System; |
|||
|
|||
namespace UnityEngine.Experimental.Perception.Randomization.Scenarios |
|||
{ |
|||
/// <summary>
|
|||
/// A class encapsulating the scenario constants fields required for Unity Simulation cloud execution
|
|||
/// </summary>
|
|||
[Serializable] |
|||
public class UnitySimulationScenarioConstants : ScenarioConstants |
|||
{ |
|||
/// <summary>
|
|||
/// The total number of iterations to run a scenario for
|
|||
/// </summary>
|
|||
public int totalIterations = 100; |
|||
|
|||
/// <summary>
|
|||
/// The number of Unity Simulation instances assigned to executed this scenario
|
|||
/// </summary>
|
|||
public int instanceCount = 1; |
|||
|
|||
/// <summary>
|
|||
/// The Unity Simulation instance index of the currently executing worker
|
|||
/// </summary>
|
|||
public int instanceIndex; |
|||
} |
|||
} |
|
|||
fileFormatVersion: 2 |
|||
guid: 362fc5761e034959aebfaf497d7f7b75 |
|||
timeCreated: 1608664937 |
|
|||
using UnityEditor; |
|||
using UnityEditor.UIElements; |
|||
using UnityEngine.UIElements; |
|||
|
|||
namespace UnityEngine.Experimental.Perception.Randomization.Editor |
|||
{ |
|||
class RandomSeedField : IntegerField |
|||
{ |
|||
public RandomSeedField(SerializedProperty property) |
|||
{ |
|||
label = "Seed"; |
|||
this.BindProperty(property); |
|||
} |
|||
} |
|||
} |
|
|||
fileFormatVersion: 2 |
|||
guid: 7df00c41d9394fa0ae239349350cb563 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
撰写
预览
正在加载...
取消
保存
Reference in new issue