Steven Leal
4 年前
当前提交
58799d44
共有 131 个文件被更改,包括 2250 次插入 和 549 次删除
-
53com.unity.perception/Editor/Randomization/StaticData.cs
-
2com.unity.perception/Editor/Randomization/Uxml/CategoricalOptionElement.uxml
-
33com.unity.perception/Editor/Randomization/Uxml/ParameterElement.uxml
-
1com.unity.perception/Editor/Randomization/Uxml/SamplerElement.uxml
-
15com.unity.perception/Editor/Randomization/Uxml/ScenarioBaseElement.uxml
-
5com.unity.perception/Runtime/GroundTruth/Labelers/Visualization/Materials/OutlineMaterial.mat
-
76com.unity.perception/Runtime/Randomization/Parameters/CategoricalParameter.cs
-
4com.unity.perception/Runtime/Randomization/Parameters/CategoricalParameterBase.cs
-
15com.unity.perception/Runtime/Randomization/Parameters/NumericParameter.cs
-
67com.unity.perception/Runtime/Randomization/Parameters/Parameter.cs
-
22com.unity.perception/Runtime/Randomization/Parameters/ParameterTypes/BooleanParameter.cs
-
8com.unity.perception/Runtime/Randomization/Parameters/ParameterTypes/FloatParameter.cs
-
8com.unity.perception/Runtime/Randomization/Parameters/ParameterTypes/IntegerParameter.cs
-
12com.unity.perception/Runtime/Randomization/Parameters/ParameterTypes/Vector2Parameter.cs
-
13com.unity.perception/Runtime/Randomization/Parameters/ParameterTypes/Vector3Parameter.cs
-
14com.unity.perception/Runtime/Randomization/Parameters/ParameterTypes/Vector4Parameter.cs
-
2com.unity.perception/Runtime/Randomization/Samplers/FloatRange.cs
-
16com.unity.perception/Runtime/Randomization/Samplers/SamplerTypes/ConstantSampler.cs
-
21com.unity.perception/Runtime/Randomization/Samplers/SamplerTypes/NormalSampler.cs
-
21com.unity.perception/Runtime/Randomization/Samplers/SamplerTypes/UniformSampler.cs
-
2com.unity.perception/Runtime/Randomization/Samplers/SamplerUtility.cs
-
4com.unity.perception/Runtime/Randomization/Scenarios/FixedLengthScenario.cs
-
255com.unity.perception/Runtime/Randomization/Scenarios/ScenarioBase.cs
-
12com.unity.perception/Runtime/Randomization/Scenarios/ScenarioBase.cs.meta
-
10com.unity.perception/Tests/Runtime/Randomization/ParameterTests/CategoricalParameterTests.cs
-
60com.unity.perception/Tests/Runtime/Randomization/ScenarioTests.cs
-
2com.unity.perception/Editor/Randomization/VisualElements/DragToReorderManipulator.cs.meta
-
2com.unity.perception/Editor/Randomization/VisualElements/ParameterDragBar.cs
-
21com.unity.perception/Editor/Randomization/VisualElements/DragToReorderManipulator.cs
-
2com.unity.perception/Editor/Randomization/VisualElements/SamplerElement.cs
-
3com.unity.perception.meta
-
8com.unity.perception/Editor/Randomization/Editors.meta
-
8com.unity.perception/Editor/Randomization/PropertyDrawers.meta
-
109com.unity.perception/Editor/Randomization/Uss/ParameterStyles.uss
-
8com.unity.perception/Editor/Randomization/Uss/ParameterStyles.uss.meta
-
16com.unity.perception/Editor/Randomization/Uss/SamplerStyles.uss
-
8com.unity.perception/Editor/Randomization/Uss/SamplerStyles.uss.meta
-
21com.unity.perception/Editor/Randomization/Uss/ScenarioStyles.uss
-
3com.unity.perception/Editor/Randomization/Uss/ScenarioStyles.uss.meta
-
10com.unity.perception/Editor/Randomization/Uxml/ParameterDrawer.uxml
-
8com.unity.perception/Editor/Randomization/Uxml/ParameterDrawer.uxml.meta
-
19com.unity.perception/Editor/Randomization/Uxml/RandomizerElement.uxml
-
3com.unity.perception/Editor/Randomization/Uxml/RandomizerElement.uxml.meta
-
8com.unity.perception/Editor/Randomization/Uxml/RandomizerList.uxml
-
3com.unity.perception/Editor/Randomization/Uxml/RandomizerList.uxml.meta
-
8com.unity.perception/Editor/Randomization/VisualElements.meta
-
8com.unity.perception/Runtime/Randomization/Parameters/ParameterTypes/ColorParameters.meta
-
8com.unity.perception/Runtime/Randomization/Randomizers.meta
-
8com.unity.perception/Tests/Runtime/Randomization/RandomizerTests.meta
-
88com.unity.perception/Editor/Randomization/Editors/ScenarioBaseEditor.cs
-
8com.unity.perception/Editor/Randomization/Editors/ScenarioBaseEditor.cs.meta
-
25com.unity.perception/Editor/Randomization/PropertyDrawers/ColorHsvaDrawer.cs
-
8com.unity.perception/Editor/Randomization/PropertyDrawers/ColorHsvaDrawer.cs.meta
-
26com.unity.perception/Editor/Randomization/PropertyDrawers/ParameterDrawer.cs
-
8com.unity.perception/Editor/Randomization/PropertyDrawers/ParameterDrawer.cs.meta
-
8com.unity.perception/Editor/Randomization/VisualElements/CategoricalOptionElement.cs.meta
-
39com.unity.perception/Editor/Randomization/VisualElements/ColorHsvaField.cs
-
8com.unity.perception/Editor/Randomization/VisualElements/ColorHsvaField.cs.meta
-
48com.unity.perception/Editor/Randomization/VisualElements/DrawerParameterElement.cs
-
8com.unity.perception/Editor/Randomization/VisualElements/DrawerParameterElement.cs.meta
-
8com.unity.perception/Editor/Randomization/VisualElements/FloatRangeElement.cs.meta
-
22com.unity.perception/Editor/Randomization/VisualElements/ParameterDragBar.cs.meta
-
196com.unity.perception/Editor/Randomization/VisualElements/ParameterElement.cs
-
8com.unity.perception/Editor/Randomization/VisualElements/ParameterElement.cs.meta
-
8com.unity.perception/Editor/Randomization/VisualElements/RandomSeedField.cs.meta
-
93com.unity.perception/Editor/Randomization/VisualElements/RandomizerElement.cs
-
3com.unity.perception/Editor/Randomization/VisualElements/RandomizerElement.cs.meta
-
92com.unity.perception/Editor/Randomization/VisualElements/RandomizerList.cs
-
3com.unity.perception/Editor/Randomization/VisualElements/RandomizerList.cs.meta
-
8com.unity.perception/Editor/Randomization/VisualElements/SamplerElement.cs.meta
-
107com.unity.perception/Runtime/Randomization/Parameters/ParameterTypes/ColorParameters/ColorHsva.cs
-
3com.unity.perception/Runtime/Randomization/Parameters/ParameterTypes/ColorParameters/ColorHsva.cs.meta
-
10com.unity.perception/Runtime/Randomization/Parameters/ParameterTypes/ColorParameters/ColorHsvaCategoricalParameter.cs
-
3com.unity.perception/Runtime/Randomization/Parameters/ParameterTypes/ColorParameters/ColorHsvaCategoricalParameter.cs.meta
-
181com.unity.perception/Runtime/Randomization/Parameters/ParameterTypes/ColorParameters/ColorHsvaParameter.cs
-
10com.unity.perception/Runtime/Randomization/Parameters/ParameterTypes/ColorParameters/ColorRgbCategoricalParameter.cs
-
3com.unity.perception/Runtime/Randomization/Parameters/ParameterTypes/ColorParameters/ColorRgbCategoricalParameter.cs.meta
-
111com.unity.perception/Runtime/Randomization/Parameters/ParameterTypes/ColorParameters/ColorRgbParameter.cs
-
3com.unity.perception/Runtime/Randomization/Parameters/ParameterTypes/ColorParameters/ColorRgbParameter.cs.meta
-
140com.unity.perception/Runtime/Randomization/Randomizers/Randomizer.cs
-
3com.unity.perception/Runtime/Randomization/Randomizers/Randomizer.cs.meta
-
25com.unity.perception/Runtime/Randomization/Randomizers/RandomizerTag.cs
-
3com.unity.perception/Runtime/Randomization/Randomizers/RandomizerTag.cs.meta
-
44com.unity.perception/Runtime/Randomization/Randomizers/RandomizerTagManager.cs
-
3com.unity.perception/Runtime/Randomization/Randomizers/RandomizerTagManager.cs.meta
-
6com.unity.perception/Tests/Runtime/Randomization/RandomizerTests/ExampleTag.cs
-
3com.unity.perception/Tests/Runtime/Randomization/RandomizerTests/ExampleTag.cs.meta
-
30com.unity.perception/Tests/Runtime/Randomization/RandomizerTests/ExampleTransformRandomizer.cs
-
3com.unity.perception/Tests/Runtime/Randomization/RandomizerTests/ExampleTransformRandomizer.cs.meta
-
40com.unity.perception/Tests/Runtime/Randomization/RandomizerTests/RandomizerTagTests.cs
-
3com.unity.perception/Tests/Runtime/Randomization/RandomizerTests/RandomizerTagTests.cs.meta
-
89com.unity.perception/Tests/Runtime/Randomization/RandomizerTests/RandomizerTests.cs
-
3com.unity.perception/Tests/Runtime/Randomization/RandomizerTests/RandomizerTests.cs.meta
-
213com.unity.perception/Editor/Randomization/Uss/Styles.uss
|
|||
<UXML xmlns="UnityEngine.UIElements" xmlns:editor="UnityEditor.UIElements"> |
|||
<Box name="parameter-container" class="parameter-container"> |
|||
<VisualElement name="drag-handle" class="move-buttons-container"> |
|||
<VisualElement class="drag-handle"/> |
|||
</VisualElement> |
|||
<VisualElement style="flex-grow: 1; justify-content: center; margin-right: 6px;"> |
|||
<VisualElement class="parameter-type-label-container"> |
|||
<Box class="parameter-type-label-box"> |
|||
<VisualElement name="collapse" class="collapse-parameter-toggle foldout-open"/> |
|||
<Label name="parameter-type-label" text="Type:" class="parameter-type-label"/> |
|||
<TextField name="name" text="Parameter Name"/> |
|||
</Box> |
|||
<Button name="remove-parameter" class="remove-parameter-button"/> |
|||
</VisualElement> |
|||
|
|||
<VisualElement name="properties" class="parameter-properties-container" style="margin-bottom: 2px;"> |
|||
<Box> |
|||
<editor:ObjectField label="Target GameObject" name="target"/> |
|||
<VisualElement name="target-container"> |
|||
<VisualElement class="unity-base-field"> |
|||
<Label text="Target Property" class="unity-base-field__label"/> |
|||
<editor:ToolbarMenu text="Select A Property" name="property-select-menu" class="property-select-menu"/> |
|||
</VisualElement> |
|||
<editor:EnumField label="Application Frequency" name="application-frequency"/> |
|||
</VisualElement> |
|||
</Box> |
|||
<Box name="extra-properties" style="padding-left: 4px; border-top-width: 0px;"/> |
|||
</VisualElement> |
|||
</VisualElement> |
|||
</Box> |
|||
<VisualElement> |
|||
<Style src="../Uss/ParameterStyles.uss"/> |
|||
<VisualElement name="properties"/> |
|||
</VisualElement> |
|||
</UXML> |
|
|||
fileFormatVersion: 2 |
|||
fileFormatVersion: 2 |
|||
timeCreated: 1589772146 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: 2c0b9128211c487091d21926e24c3303 |
|||
timeCreated: 1600211324 |
|
|||
fileFormatVersion: 2 |
|||
<<<<<<< HEAD |
|||
guid: 85401640505a48f9a8fe55045f5f28d8 |
|||
timeCreated: 1600754567 |
|||
======= |
|||
guid: 0b17046409af4c22bf74eec2a5965984 |
|||
timeCreated: 1598135707 |
|||
>>>>>>> 86d25d2... implemented parameter behaviours |
|
|||
fileFormatVersion: 2 |
|||
<<<<<<< HEAD |
|||
guid: 47a26876f92a4b19adb3b7b525efa830 |
|||
timeCreated: 1600754588 |
|||
======= |
|||
guid: d3107e026b2943c1868c9b3f8c6480d3 |
|||
timeCreated: 1598135730 |
|||
>>>>>>> 86d25d2... implemented parameter behaviours |
|
|||
.randomizer-element { |
|||
border-width: 2px; |
|||
border-radius: 5px; |
|||
margin: 2px 1px; |
|||
background-color: #383838; |
|||
} |
|||
|
|||
.parameter-type-label-container { |
|||
flex-direction: row; |
|||
justify-content: space-between; |
|||
align-items: center; |
|||
margin-bottom: 1px; |
|||
} |
|||
|
|||
.parameter-type-label-box { |
|||
flex-direction: row; |
|||
align-items: center; |
|||
justify-content: flex-start; |
|||
flex-grow: 0; |
|||
-unity-text-align: middle-center; |
|||
border-width: 0; |
|||
padding: 1px; |
|||
font-size: 13px; |
|||
} |
|||
|
|||
.parameter-type-label { |
|||
color: cornflowerblue; |
|||
-unity-text-align: middle-left; |
|||
margin-right: 4px; |
|||
} |
|||
|
|||
.parameter-type-label-box .unity-base-text-field__input { |
|||
padding-left: 6px; |
|||
padding-right: 6px; |
|||
} |
|||
|
|||
.collapse-toggle { |
|||
flex-shrink: 0; |
|||
margin-right: 3px; |
|||
margin-left: 3px; |
|||
width: 12px; |
|||
height: 12px; |
|||
background-image: resource("Packages/com.unity.perception/Editor/Randomization/Icons/FoldoutOpen.png"); |
|||
} |
|||
|
|||
.collapsed .collapse-toggle { |
|||
background-image: resource("Packages/com.unity.perception/Editor/Randomization/Icons/FoldoutClosed.png"); |
|||
} |
|||
|
|||
.collapsed .properties-container { |
|||
display: none; |
|||
} |
|||
|
|||
.categorical-option { |
|||
flex-direction: row; |
|||
background-color: #3F3F3F; |
|||
margin: 1px; |
|||
border-radius: 4px; |
|||
} |
|||
|
|||
.options-list-view { |
|||
background-color: #191919; |
|||
border-radius: 4px; |
|||
margin-right: 2px; |
|||
padding: 3px; |
|||
border-bottom-right-radius: 0; |
|||
} |
|||
|
|||
.option-property-field { |
|||
width: 0; |
|||
flex-grow: 1; |
|||
flex-shrink: 0; |
|||
} |
|||
|
|||
.uniform-probability .hide-when-uniform { |
|||
display: none; |
|||
} |
|||
|
|||
.add-option-button { |
|||
align-self: flex-end; |
|||
border-width: 0; |
|||
border-top-right-radius: 0; |
|||
border-top-left-radius: 0; |
|||
background-color: #191919; |
|||
margin-top: 0; |
|||
margin-right: 2px; |
|||
} |
|||
|
|||
.add-option-button:hover { |
|||
background-color: #2A2A2A; |
|||
} |
|||
|
|||
.add-option-button:active { |
|||
color: cornflowerblue; |
|||
} |
|||
|
|||
.remove-option-button { |
|||
width: 12px; |
|||
height: 14px; |
|||
background-image: resource("Packages/com.unity.perception/Editor/Randomization/Icons/X.png"); |
|||
} |
|||
|
|||
.drag-handle { |
|||
flex-shrink: 0; |
|||
width: 16px; |
|||
height: 100%; |
|||
min-height: 20px; |
|||
background-image: resource("Packages/com.unity.perception/Editor/Randomization/Icons/DragHandle.png"); |
|||
} |
|
|||
fileFormatVersion: 2 |
|||
<<<<<<< HEAD |
|||
guid: 0a4e5cce05674cabb4e35dbba3176bb0 |
|||
timeCreated: 1600754588 |
|||
======= |
|||
guid: def81fa16f8b41aca393a30c3b1fac72 |
|||
timeCreated: 1598222679 |
|||
>>>>>>> 86d25d2... implemented parameter behaviours |
|
|||
.sampler-type-menu { |
|||
flex-grow: 1.5; |
|||
border-radius: 3px; |
|||
border-width: 1px; |
|||
margin-top: 2px; |
|||
margin-right: 3px; |
|||
} |
|||
|
|||
.sampler-name { |
|||
/*color: lightgreen;*/ |
|||
} |
|||
|
|||
.float-range .unity-base-field__label { |
|||
min-width: auto; |
|||
margin-right: 4px; |
|||
} |
|
|||
fileFormatVersion: 2 |
|||
<<<<<<< HEAD |
|||
guid: f96184638ee64ea18b5e2d5c90f94c67 |
|||
timeCreated: 1600754588 |
|||
======= |
|||
guid: 85ff041b142f41798a7703bda9bb1ba7 |
|||
timeCreated: 1598222791 |
|||
>>>>>>> 86d25d2... implemented parameter behaviours |
|
|||
.dark-viewport { |
|||
border-radius: 5px; |
|||
background-color: #191919; |
|||
padding: 2px; |
|||
} |
|||
|
|||
.info-box { |
|||
border-width: 1px; |
|||
border-color: #191919; |
|||
padding: 2px 4px 2px 4px; |
|||
white-space: normal; |
|||
margin-top: 4px; |
|||
margin-bottom: 4px; |
|||
} |
|||
|
|||
.drag-bar { |
|||
width: 100px; |
|||
height: 6px; |
|||
background-color: rgba(100,149,237,0.4); |
|||
position: absolute; |
|||
} |
|
|||
fileFormatVersion: 2 |
|||
guid: 7db846b4c7cf420e8fdc32c7f701f5c3 |
|||
timeCreated: 1600276536 |
|
|||
<UXML xmlns="UnityEngine.UIElements" xmlns:editor="UnityEditor.UIElements"> |
|||
<VisualElement> |
|||
<Style src="../Uss/ParameterStyles.uss"/> |
|||
<VisualElement style="flex-direction: row; align-items: center;"> |
|||
<VisualElement name="collapse" class="collapse-toggle foldout-open"/> |
|||
<Label name="field-name" style="font-size: 12px;"/> |
|||
</VisualElement> |
|||
<VisualElement name="drawer" class="properties-container" style="padding-left: 18px;"/> |
|||
</VisualElement> |
|||
</UXML> |
|
|||
fileFormatVersion: 2 |
|||
<<<<<<< HEAD |
|||
guid: fbfd6bfda79247c1a4578907f9df9d6c |
|||
timeCreated: 1600754588 |
|||
======= |
|||
guid: 6a4bb3efae29429292ccdfa63e661872 |
|||
timeCreated: 1598240583 |
|||
>>>>>>> 86d25d2... implemented parameter behaviours |
|
|||
<UXML xmlns="UnityEngine.UIElements" xmlns:editor="UnityEditor.UIElements"> |
|||
<VisualElement class="randomizer-element" style="flex-direction: row;"> |
|||
<Style src="../Uss/ParameterStyles.uss"/> |
|||
<VisualElement name="drag-handle" class="drag-handle"/> |
|||
|
|||
<VisualElement style="flex-grow: 1;"> |
|||
<VisualElement style="flex-direction: row; justify-content: space-between;"> |
|||
<VisualElement style="flex-direction: row; align-items: center;"> |
|||
<VisualElement name="collapse" class="collapse-toggle foldout-open"/> |
|||
<Toggle name="enabled"/> |
|||
<TextElement name="class-name" text="Randomizer Class Name"/> |
|||
</VisualElement> |
|||
<Button name="remove" class="remove-option-button"/> |
|||
</VisualElement> |
|||
|
|||
<VisualElement name="properties" class="properties-container" style="padding-left: 16px;"/> |
|||
</VisualElement> |
|||
</VisualElement> |
|||
</UXML> |
|
|||
fileFormatVersion: 2 |
|||
guid: f68d0e4ae9a94881adad2ff4835cddaf |
|||
timeCreated: 1600290113 |
|
|||
<UXML xmlns="UnityEngine.UIElements" xmlns:editor="UnityEditor.UIElements"> |
|||
<VisualElement name="randomizers-container" class="dark-viewport" style="margin-top: 6px; min-height: 100px;"/> |
|||
<VisualElement style="flex-direction: row; align-items: center; justify-content: center; margin-top: 4px;"> |
|||
<editor:ToolbarMenu name="add-randomizer" text="Add Randomizer"/> |
|||
<Button name="expand-all" text="Expand All"/> |
|||
<Button name="collapse-all" text="Collapse All"/> |
|||
</VisualElement> |
|||