Skip to content

Commit c1c6624

Browse files
authored
Merge pull request #355 from Unity-Technologies/add_imageLink_field
Added imageLink field
2 parents 620136a + cd2c96a commit c1c6624

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

com.unity.perception/Runtime/Randomization/Scenarios/Serialization/SerializationStructures.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class StandardMetadata
2323
{
2424
public string name = string.Empty;
2525
public string description = string.Empty;
26+
public string imageLink = string.Empty;
2627
}
2728

2829
class Group

com.unity.perception/Tests/Runtime/Randomization/ScenarioTests/Resources/SampleScenarioConfiguration.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,24 @@
1111
"RotationRandomizer": {
1212
"metadata": {
1313
"name": "",
14-
"description": ""
14+
"description": "",
15+
"imageLink": ""
1516
},
1617
"items": {
1718
"rotation": {
1819
"param": {
1920
"metadata": {
2021
"name": "",
21-
"description": ""
22+
"description": "",
23+
"imageLink": ""
2224
},
2325
"items": {
2426
"x": {
2527
"samplerOptions": {
2628
"metadata": {
2729
"name": "",
28-
"description": ""
30+
"description": "",
31+
"imageLink": ""
2932
},
3033
"uniform": {
3134
"min": 0.0,
@@ -37,7 +40,8 @@
3740
"samplerOptions": {
3841
"metadata": {
3942
"name": "",
40-
"description": ""
43+
"description": "",
44+
"imageLink": ""
4145
},
4246
"uniform": {
4347
"min": 0.0,
@@ -49,7 +53,8 @@
4953
"samplerOptions": {
5054
"metadata": {
5155
"name": "",
52-
"description": ""
56+
"description": "",
57+
"imageLink": ""
5358
},
5459
"uniform": {
5560
"min": 0.0,

0 commit comments

Comments
 (0)