Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ease-ph
DeepLanguageUnderstanding
Physics Simulator
Commits
e200e77b
Verified
Commit
e200e77b
authored
Mar 06, 2020
by
Sebastian Höffner
Browse files
Updating context and JSON ordering.
parent
608b57c6
Changes
2
Show whitespace changes
Inline
Side-by-side
Assets/DLU/Resources/context.json
View file @
e200e77b
[{
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Steam"
],
"name"
:
"steam_0"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
-0.0840557441115379
,
0.912578999996185
,
2.47390842437744
]},
"orientation"
:[
-0.000711875502020121
,
-2.74777412414551E-05
,
0.000304955523461103
,
0.999999821186066
]}}},{
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Lamp"
,
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Lamp"
,
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Lamp"
,
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Lamp"
,
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Lamp"
],
"name"
:
"lamp_1"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
-1.64600002765656
,
2.24000000953674
,
3
]},
"orientation"
:[
0
,
0
,
0
,
1
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Wall"
,
"http://www.ease-crc.org/ont/EASE.owl#Wall"
,
"http://www.ease-crc.org/ont/EASE.owl#Wall"
,
"http://www.ease-crc.org/ont/EASE.owl#Wall"
,
"http://www.ease-crc.org/ont/EASE.owl#Wall"
],
"name"
:
"wall_2"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
3
,
0
,
1
]},
"orientation"
:[
0
,
0.707106828689575
,
0
,
0.707106828689575
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Floor"
],
"name"
:
"floor_0"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
3.09999990463257
,
-0.100000001490116
,
-3.09999990463257
]},
"orientation"
:[
0
,
0
,
0
,
1
]}}},{
"is_a"
:[
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#PhysicalPlace"
],
"name"
:
"environment_0"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
-15
,
-0.050000011920929
,
-15
]},
"orientation"
:[
0
,
0
,
0
,
1
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Ceiling"
],
"name"
:
"ceiling_0"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
3.09999990463257
,
2.57999992370605
,
-3.09999990463257
]},
"orientation"
:[
0
,
0
,
0
,
1
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Cupboard"
,
"http://www.ease-crc.org/ont/EASE.owl#Cupboard"
],
"name"
:
"cupboard_2"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
1.36000001430511
,
0
,
2.09999990463257
]},
"orientation"
:[
0
,
0
,
0
,
1
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE-OBJ.owl#Pot"
],
"name"
:
"pot_0"
,
"components"
:{}},{
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Window"
,
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Window"
,
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Window"
,
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Window"
,
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Window"
],
"name"
:
"window_1"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
1.62541604042053
,
0.785416007041931
,
-3.00545001029968
]},
"orientation"
:[
0
,
1
,
0
,
0
]}}},{
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Chair"
],
"name"
:
"chair_0"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
1.07895708084106
,
0
,
-1.34624290466309
]},
"orientation"
:[
0
,
0.0316231548786163
,
0
,
0.999499917030334
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Drawer"
,
"http://www.ease-crc.org/ont/EASE.owl#Drawer"
],
"name"
:
"drawer_1"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
1.30631196498871
,
0.555086016654968
,
2.1399998664856
]},
"orientation"
:[
0
,
0
,
0
,
1
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Door"
,
"http://www.ease-crc.org/ont/EASE.owl#Door"
,
"http://www.ease-crc.org/ont/EASE.owl#Door"
,
"http://www.ease-crc.org/ont/EASE.owl#Door"
,
"http://www.ease-crc.org/ont/EASE.owl#Door"
,
"http://www.ease-crc.org/ont/EASE.owl#Door"
,
"http://www.ease-crc.org/ont/EASE.owl#Door"
,
"http://www.ease-crc.org/ont/EASE.owl#Door"
,
"http://www.ease-crc.org/ont/EASE.owl#Door"
],
"name"
:
"door_10"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
-2.15999984741211
,
0.1701720058918
,
0.413687914609909
]},
"orientation"
:[
0
,
-0.707106828689575
,
0
,
0.707106828689575
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Wall"
],
"name"
:
"wall_1"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
3
,
0
,
3
]},
"orientation"
:[
0
,
0
,
0
,
1
]}}},{
"is_a"
:[
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#Entity"
],
"name"
:
"sun_0"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
0
,
3
,
0
]},
"orientation"
:[
0.22958692908287
,
-0.251401782035828
,
0.0615176223218441
,
0.9382444024086
]}}},{
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Sink"
,
"http://www.ease-crc.org/ont/EASE.owl#Cupboard"
],
"name"
:
"sink_0"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
-2.07999992370605
,
0
,
2.09999990463257
]},
"orientation"
:[
0
,
0
,
0
,
1
]}}},{
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Chair"
],
"name"
:
"chair_2"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
-0.00044173002243042
,
0
,
-1.84847187995911
]},
"orientation"
:[
0
,
0.999981224536896
,
0
,
0.00614215806126595
]}}},{
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Apple"
],
"name"
:
"apple_0"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
-1.01800000667572
,
0.840098917484283
,
2.6956000328064
]},
"orientation"
:[
-6.12323426292584E-17
,
1
,
6.12323426292584E-17
,
-3.74939939305299E-33
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Wall"
],
"name"
:
"wall_7"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
-3
,
0
,
-1
]},
"orientation"
:[
0
,
-0.707106828689575
,
0
,
0.707106828689575
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Rack"
],
"name"
:
"rack_1"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
-2.55999994277954
,
1.60000002384186
,
-0.0599999986588955
]},
"orientation"
:[
0
,
0
,
0
,
1
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Stove"
],
"name"
:
"stove_0"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
0.5
,
0
,
2.09999990463257
]},
"orientation"
:[
0
,
0
,
0
,
1
]}}},{
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Shelf"
,
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Shelf"
],
"name"
:
"shelf_0"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
-2.55999994277954
,
1.21099996566772
,
-0.0599999986588955
]},
"orientation"
:[
0
,
0
,
0
,
1
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Cupboard"
,
"http://www.ease-crc.org/ont/EASE.owl#Cupboard"
],
"name"
:
"cupboard_8"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
-2.55999994277954
,
1.60000002384186
,
1.22000002861023
]},
"orientation"
:[
0
,
-0.707106828689575
,
0
,
0.707106828689575
]}}},{
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Shelf"
,
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Shelf"
],
"name"
:
"shelf_3"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
-2.55999994277954
,
1.60000002384186
,
2.5
]},
"orientation"
:[
0
,
-0.707106828689575
,
0
,
0.707106828689575
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Refrigerator"
],
"name"
:
"refrigerator_0"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
2.22000002861023
,
0
,
2.09999990463257
]},
"orientation"
:[
0
,
0
,
0
,
1
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Door"
],
"name"
:
"door_7"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
2.11932611465454
,
0.217418000102043
,
2.16999983787537
]},
"orientation"
:[
0
,
0
,
0
,
1
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Door"
],
"name"
:
"door_6"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
2.11932611465454
,
1.30259597301483
,
2.16999983787537
]},
"orientation"
:[
0
,
0
,
0
,
1
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Door"
],
"name"
:
"door_3"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
-1.16631197929382
,
1.65368807315826
,
2.59999990463257
]},
"orientation"
:[
0
,
0
,
0
,
1
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Door"
],
"name"
:
"door_2"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
-0.413688004016876
,
1.65368807315826
,
2.59999990463257
]},
"orientation"
:[
0
,
0
,
0
,
1
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Cupboard"
],
"name"
:
"cupboard_7"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
-0.360000014305115
,
1.60000002384186
,
2.57999992370605
]},
"orientation"
:[
0
,
0
,
0
,
1
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Rack"
],
"name"
:
"rack_0"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
-2.55999994277954
,
1.60000002384186
,
2.5
]},
"orientation"
:[
0
,
-0.707106828689575
,
0
,
0.707106828689575
]}}},{
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Cup"
,
"http://www.ease-crc.org/ont/EASE.owl#DesignedContainer"
],
"name"
:
"cup_0"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
-2.57680010795593
,
0.838436722755432
,
1.73479998111725
]},
"orientation"
:[
-1.3969840395589E-08
,
-0.918447494506836
,
1.11758726717426E-08
,
-0.395542949438095
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Room"
],
"name"
:
"kitchen_1"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
0
,
0
,
0
]},
"orientation"
:[
0
,
0
,
0
,
1
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Countertop"
],
"name"
:
"counter_0"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
-2.07999992370605
,
0
,
2.07999992370605
]},
"orientation"
:[
0
,
0
,
0
,
1
]}}},{
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Chair"
],
"name"
:
"chair_1"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
0.412418007850647
,
0
,
-1.32948207855225
]},
"orientation"
:[
0
,
-0.0111704673618078
,
0
,
0.999937653541565
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE-OBJ.owl#Lid"
],
"name"
:
"lid_0"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
-0.358455181121826
,
0.84524142742157
,
2.5877947807312
]},
"orientation"
:[
-0.0100866016000509
,
0.382520109415054
,
0.0244066566228867
,
0.923569679260254
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Table"
],
"name"
:
"table_0"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
1.43400001525879
,
0
,
-2.04800009727478
]},
"orientation"
:[
0
,
0
,
0
,
1
]}}},{
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Chair"
],
"name"
:
"chair_3"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
0.748000383377075
,
0
,
-1.85008120536804
]},
"orientation"
:[
0
,
0.999948978424072
,
0
,
0.0101014049723744
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Cupboard"
,
"http://www.ease-crc.org/ont/EASE.owl#Cupboard"
],
"name"
:
"cupboard_0"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
-2.09999990463257
,
0
,
0.359999924898148
]},
"orientation"
:[
0
,
-0.707106828689575
,
0
,
0.707106828689575
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Wall"
],
"name"
:
"wall_4"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
3
,
0
,
-1
]},
"orientation"
:[
0
,
0.707106828689575
,
0
,
0.707106828689575
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Cupboard"
],
"name"
:
"cupboard_5"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
-2.55999994277954
,
1.60000002384186
,
2.07800006866455
]},
"orientation"
:[
0
,
-0.707106828689575
,
0
,
0.707106828689575
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Countertop"
],
"name"
:
"counter_1"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
-2.09999990463257
,
0
,
-0.539999961853027
]},
"orientation"
:[
0
,
0
,
0
,
1
]}}},{
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Wall"
],
"name"
:
"wall_6"
,
"components"
:{
"transform"
:{
"position"
:{
""
:[
-3
,
0
,
3
]},
"orientation"
:[
0
,
-0.707106828689575
,
0
,
0.707106828689575
]}}}]
\ No newline at end of file
[{
"name"
:
"steam_0"
,
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Steam"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-0.0840557441115379
,
"y"
:
0.912578999996185
,
"z"
:
2.47390842437744
},
"orientation"
:{
"x"
:
-0.000711875502020121
,
"y"
:
-2.74777412414551E-05
,
"z"
:
0.000304955523461103
,
"w"
:
0.999999821186066
}}}},{
"name"
:
"lamp_1"
,
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Lamp"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
3
,
"y"
:
2.24000000953674
,
"z"
:
0
},
"orientation"
:{
"x"
:
0
,
"y"
:
0.707106828689575
,
"z"
:
0
,
"w"
:
0.707106828689575
}}}},{
"name"
:
"wall_2"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Wall"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-1
,
"y"
:
0
,
"z"
:
-3
},
"orientation"
:{
"x"
:
0
,
"y"
:
1
,
"z"
:
0
,
"w"
:
0
}}}},{
"name"
:
"floor_0"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Floor"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
3.09999990463257
,
"y"
:
-0.100000001490116
,
"z"
:
-3.09999990463257
},
"orientation"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
}}}},{
"name"
:
"environment_0"
,
"is_a"
:[
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#PhysicalPlace"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-15
,
"y"
:
-0.050000011920929
,
"z"
:
-15
},
"orientation"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
}}}},{
"name"
:
"ceiling_0"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Ceiling"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
3.09999990463257
,
"y"
:
2.57999992370605
,
"z"
:
-3.09999990463257
},
"orientation"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
}}}},{
"name"
:
"cupboard_2"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Cupboard"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-2.09999990463257
,
"y"
:
0
,
"z"
:
2.07999992370605
},
"orientation"
:{
"x"
:
0
,
"y"
:
-0.707106828689575
,
"z"
:
0
,
"w"
:
0.707106828689575
}}}},{
"name"
:
"pot_0"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE-OBJ.owl#Pot"
],
"components"
:{}},{
"name"
:
"window_1"
,
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Window"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-0.374584019184113
,
"y"
:
0.785416007041931
,
"z"
:
-3.00545001029968
},
"orientation"
:{
"x"
:
0
,
"y"
:
1
,
"z"
:
0
,
"w"
:
0
}}}},{
"name"
:
"window_3"
,
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Window"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
3.00545001029968
,
"y"
:
0.785416007041931
,
"z"
:
-2.37458395957947
},
"orientation"
:{
"x"
:
0
,
"y"
:
0.707106828689575
,
"z"
:
0
,
"w"
:
0.707106828689575
}}}},{
"name"
:
"chair_0"
,
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Chair"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
1.07895708084106
,
"y"
:
0
,
"z"
:
-1.34624290466309
},
"orientation"
:{
"x"
:
0
,
"y"
:
0.0316231548786163
,
"z"
:
0
,
"w"
:
0.999499917030334
}}}},{
"name"
:
"drawer_1"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Drawer"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-2.1399998664856
,
"y"
:
0.555086016654968
,
"z"
:
2.02631187438965
},
"orientation"
:{
"x"
:
0
,
"y"
:
-0.707106828689575
,
"z"
:
0
,
"w"
:
0.707106828689575
}}}},{
"name"
:
"door_10"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Door"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-2.15999984741211
,
"y"
:
0.1701720058918
,
"z"
:
2.02631187438965
},
"orientation"
:{
"x"
:
0
,
"y"
:
-0.707106828689575
,
"z"
:
0
,
"w"
:
0.707106828689575
}}}},{
"name"
:
"door_12"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Door"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-0.413687944412231
,
"y"
:
0.1701720058918
,
"z"
:
2.15999984741211
},
"orientation"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
}}}},{
"name"
:
"drawer_0"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Drawer"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
1.30631196498871
,
"y"
:
0.555086016654968
,
"z"
:
2.1399998664856
},
"orientation"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
}}}},{
"name"
:
"door_9"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Door"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
1.30631196498871
,
"y"
:
0.1701720058918
,
"z"
:
2.15999984741211
},
"orientation"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
}}}},{
"name"
:
"wall_1"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Wall"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
3
,
"y"
:
0
,
"z"
:
3
},
"orientation"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
}}}},{
"name"
:
"cupboard_3"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Cupboard"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
1.36000001430511
,
"y"
:
0
,
"z"
:
2.09999990463257
},
"orientation"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
}}}},{
"name"
:
"sun_0"
,
"is_a"
:[
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#Entity"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
0
,
"y"
:
3
,
"z"
:
0
},
"orientation"
:{
"x"
:
0.22958692908287
,
"y"
:
-0.251401782035828
,
"z"
:
0.0615176223218441
,
"w"
:
0.9382444024086
}}}},{
"name"
:
"sink_0"
,
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Sink"
,
"http://www.ease-crc.org/ont/EASE.owl#Cupboard"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-2.07999992370605
,
"y"
:
0
,
"z"
:
2.09999990463257
},
"orientation"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
}}}},{
"name"
:
"chair_2"
,
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Chair"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-0.00044173002243042
,
"y"
:
0
,
"z"
:
-1.84847187995911
},
"orientation"
:{
"x"
:
0
,
"y"
:
0.999981224536896
,
"z"
:
0
,
"w"
:
0.00614215806126595
}}}},{
"name"
:
"door_0"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Door"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-3.05089998245239
,
"y"
:
0
,
"z"
:
-2.43729996681213
},
"orientation"
:{
"x"
:
0
,
"y"
:
0.707106828689575
,
"z"
:
0
,
"w"
:
0.707106828689575
}}}},{
"name"
:
"apple_0"
,
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Apple"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-1.01800000667572
,
"y"
:
0.840098917484283
,
"z"
:
2.6956000328064
},
"orientation"
:{
"x"
:
-6.12323426292584E-17
,
"y"
:
1
,
"z"
:
6.12323426292584E-17
,
"w"
:
-3.74939939305299E-33
}}}},{
"name"
:
"window_0"
,
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Window"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-2.37458395957947
,
"y"
:
0.785416007041931
,
"z"
:
-3.00545001029968
},
"orientation"
:{
"x"
:
0
,
"y"
:
1
,
"z"
:
0
,
"w"
:
0
}}}},{
"name"
:
"wall_7"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Wall"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-3
,
"y"
:
0
,
"z"
:
-1
},
"orientation"
:{
"x"
:
0
,
"y"
:
-0.707106828689575
,
"z"
:
0
,
"w"
:
0.707106828689575
}}}},{
"name"
:
"door_1"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Door"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-2.57999992370605
,
"y"
:
2.32631206512451
,
"z"
:
1.16631197929382
},
"orientation"
:{
"x"
:
0
,
"y"
:
-0.707106828689575
,
"z"
:
0
,
"w"
:
0.707106828689575
}}}},{
"name"
:
"rack_1"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Rack"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-2.55999994277954
,
"y"
:
1.60000002384186
,
"z"
:
-0.0599999986588955
},
"orientation"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
}}}},{
"name"
:
"lamp_4"
,
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Lamp"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
0.920000016689301
,
"y"
:
2.24000000953674
,
"z"
:
3
},
"orientation"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
}}}},{
"name"
:
"stove_0"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Stove"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
0.5
,
"y"
:
0
,
"z"
:
2.09999990463257
},
"orientation"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
}}}},{
"name"
:
"shelf_0"
,
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Shelf"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-2.55999994277954
,
"y"
:
1.21099996566772
,
"z"
:
2.5
},
"orientation"
:{
"x"
:
0
,
"y"
:
-0.707106828689575
,
"z"
:
0
,
"w"
:
0.707106828689575
}}}},{
"name"
:
"wall_0"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Wall"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-3
,
"y"
:
0
,
"z"
:
-3
},
"orientation"
:{
"x"
:
0
,
"y"
:
1
,
"z"
:
0
,
"w"
:
0
}}}},{
"name"
:
"cupboard_8"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Cupboard"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-2.55999994277954
,
"y"
:
1.99000000953674
,
"z"
:
1.22000002861023
},
"orientation"
:{
"x"
:
0
,
"y"
:
-0.707106828689575
,
"z"
:
0
,
"w"
:
0.707106828689575
}}}},{
"name"
:
"shelf_3"
,
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Shelf"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-2.55999994277954
,
"y"
:
1.60000002384186
,
"z"
:
-0.0599999986588955
},
"orientation"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
}}}},{
"name"
:
"refrigerator_0"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Refrigerator"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
2.22000002861023
,
"y"
:
0
,
"z"
:
2.09999990463257
},
"orientation"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
}}}},{
"name"
:
"door_7"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Door"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
2.11932611465454
,
"y"
:
0.217418000102043
,
"z"
:
2.16999983787537
},
"orientation"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
}}}},{
"name"
:
"door_6"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Door"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
2.11932611465454
,
"y"
:
1.30259597301483
,
"z"
:
2.16999983787537
},
"orientation"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
}}}},{
"name"
:
"door_3"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Door"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-1.16631197929382
,
"y"
:
1.65368807315826
,
"z"
:
2.59999990463257
},
"orientation"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
}}}},{
"name"
:
"door_2"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Door"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-0.413688004016876
,
"y"
:
1.65368807315826
,
"z"
:
2.59999990463257
},
"orientation"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
}}}},{
"name"
:
"wall_3"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Wall"
,
"http://www.ease-crc.org/ont/EASE.owl#Wall"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
1
,
"y"
:
0
,
"z"
:
-3
},
"orientation"
:{
"x"
:
0
,
"y"
:
1
,
"z"
:
0
,
"w"
:
0
}}}},{
"name"
:
"cupboard_7"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Cupboard"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-0.360000014305115
,
"y"
:
1.60000002384186
,
"z"
:
2.57999992370605
},
"orientation"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
}}}},{
"name"
:
"cupboard_6"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Cupboard"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-2.55999994277954
,
"y"
:
1.60000002384186
,
"z"
:
1.22000002861023
},
"orientation"
:{
"x"
:
0
,
"y"
:
-0.707106828689575
,
"z"
:
0
,
"w"
:
0.707106828689575
}}}},{
"name"
:
"rack_0"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Rack"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-2.55999994277954
,
"y"
:
1.60000002384186
,
"z"
:
2.5
},
"orientation"
:{
"x"
:
0
,
"y"
:
-0.707106828689575
,
"z"
:
0
,
"w"
:
0.707106828689575
}}}},{
"name"
:
"cup_0"
,
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Cup"
,
"http://www.ease-crc.org/ont/EASE.owl#DesignedContainer"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-2.57680010795593
,
"y"
:
0.838436722755432
,
"z"
:
1.73479998111725
},
"orientation"
:{
"x"
:
-1.3969840395589E-08
,
"y"
:
-0.918447494506836
,
"z"
:
1.11758726717426E-08
,
"w"
:
-0.395542949438095
}}}},{
"name"
:
"shelf_1"
,
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Shelf"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-2.55999994277954
,
"y"
:
1.21099996566772
,
"z"
:
-0.0599999986588955
},
"orientation"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
}}}},{
"name"
:
"kitchen_1"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Room"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
},
"orientation"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
}}}},{
"name"
:
"lamp_2"
,
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Lamp"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-1
,
"y"
:
2.24000000953674
,
"z"
:
-3
},
"orientation"
:{
"x"
:
0
,
"y"
:
1
,
"z"
:
0
,
"w"
:
0
}}}},{
"name"
:
"door_8"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Door"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-2.02631187438965
,
"y"
:
0.1701720058918
,
"z"
:
2.15999984741211
},
"orientation"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
}}}},{
"name"
:
"window_4"
,
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Window"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
3.00545001029968
,
"y"
:
0.785416007041931
,
"z"
:
1.62541604042053
},
"orientation"
:{
"x"
:
0
,
"y"
:
0.707106828689575
,
"z"
:
0
,
"w"
:
0.707106828689575
}}}},{
"name"
:
"counter_0"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Countertop"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-2.07999992370605
,
"y"
:
0
,
"z"
:
2.07999992370605
},
"orientation"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
}}}},{
"name"
:
"door_4"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Door"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-2.57999992370605
,
"y"
:
1.93631196022034
,
"z"
:
1.16631197929382
},
"orientation"
:{
"x"
:
0
,
"y"
:
-0.707106828689575
,
"z"
:
0
,
"w"
:
0.707106828689575
}}}},{
"name"
:
"window_2"
,
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Window"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
1.62541604042053
,
"y"
:
0.785416007041931
,
"z"
:
-3.00545001029968
},
"orientation"
:{
"x"
:
0
,
"y"
:
1
,
"z"
:
0
,
"w"
:
0
}}}},{
"name"
:
"door_5"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Door"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-2.57999992370605
,
"y"
:
1.65368807315826
,
"z"
:
2.02431201934814
},
"orientation"
:{
"x"
:
0
,
"y"
:
-0.707106828689575
,
"z"
:
0
,
"w"
:
0.707106828689575
}}}},{
"name"
:
"chair_1"
,
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Chair"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
0.412418007850647
,
"y"
:
0
,
"z"
:
-1.32948207855225
},
"orientation"
:{
"x"
:
0
,
"y"
:
-0.0111704673618078
,
"z"
:
0
,
"w"
:
0.999937653541565
}}}},{
"name"
:
"lid_0"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE-OBJ.owl#Lid"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-0.358455181121826
,
"y"
:
0.84524142742157
,
"z"
:
2.5877947807312
},
"orientation"
:{
"x"
:
-0.0100866016000509
,
"y"
:
0.382520109415054
,
"z"
:
0.0244066566228867
,
"w"
:
0.923569679260254
}}}},{
"name"
:
"table_0"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Table"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
1.43400001525879
,
"y"
:
0
,
"z"
:
-2.04800009727478
},
"orientation"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
}}}},{
"name"
:
"chair_3"
,
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Chair"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
0.748000383377075
,
"y"
:
0
,
"z"
:
-1.85008120536804
},
"orientation"
:{
"x"
:
0
,
"y"
:
0.999948978424072
,
"z"
:
0
,
"w"
:
0.0101014049723744
}}}},{
"name"
:
"cupboard_0"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Cupboard"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-0.35999995470047
,
"y"
:
0
,
"z"
:
2.09999990463257
},
"orientation"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
}}}},{
"name"
:
"wall_4"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Wall"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
3
,
"y"
:
0
,
"z"
:
-1
},
"orientation"
:{
"x"
:
0
,
"y"
:
0.707106828689575
,
"z"
:
0
,
"w"
:
0.707106828689575
}}}},{
"name"
:
"shelf_2"
,
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Shelf"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-2.55999994277954
,
"y"
:
1.60000002384186
,
"z"
:
2.5
},
"orientation"
:{
"x"
:
0
,
"y"
:
-0.707106828689575
,
"z"
:
0
,
"w"
:
0.707106828689575
}}}},{
"name"
:
"door_11"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Door"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-2.15999984741211
,
"y"
:
0.1701720058918
,
"z"
:
0.413687914609909
},
"orientation"
:{
"x"
:
0
,
"y"
:
-0.707106828689575
,
"z"
:
0
,
"w"
:
0.707106828689575
}}}},{
"name"
:
"cupboard_5"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Cupboard"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-2.55999994277954
,
"y"
:
1.60000002384186
,
"z"
:
2.07800006866455
},
"orientation"
:{
"x"
:
0
,
"y"
:
-0.707106828689575
,
"z"
:
0
,
"w"
:
0.707106828689575
}}}},{
"name"
:
"counter_1"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Countertop"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-2.09999990463257
,
"y"
:
0
,
"z"
:
-0.539999961853027
},
"orientation"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
}}}},{
"name"
:
"lamp_0"
,
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Lamp"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
1
,
"y"
:
2.24000000953674
,
"z"
:
-3
},
"orientation"
:{
"x"
:
0
,
"y"
:
1
,
"z"
:
0
,
"w"
:
0
}}}},{
"name"
:
"wall_6"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Wall"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-3
,
"y"
:
0
,
"z"
:
3
},
"orientation"
:{
"x"
:
0
,
"y"
:
-0.707106828689575
,
"z"
:
0
,
"w"
:
0.707106828689575
}}}},{
"name"
:
"cupboard_1"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Cupboard"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-2.09999990463257
,
"y"
:
0
,
"z"
:
0.359999924898148
},
"orientation"
:{
"x"
:
0
,
"y"
:
-0.707106828689575
,
"z"
:
0
,
"w"
:
0.707106828689575
}}}},{
"name"
:
"wall_5"
,
"is_a"
:[
"http://www.ease-crc.org/ont/EASE.owl#Wall"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
3
,
"y"
:
0
,
"z"
:
1
},
"orientation"
:{
"x"
:
0
,
"y"
:
0.707106828689575
,
"z"
:
0
,
"w"
:
0.707106828689575
}}}},{
"name"
:
"lamp_3"
,
"is_a"
:[
"http://ease-ph.glpages.informatik.uni-bremen.de/dlu/dlu/EASE-DLUext.owl#Lamp"
],
"components"
:{
"transform"
:{
"position"
:{
"x"
:
-1.64600002765656
,
"y"
:
2.24000000953674
,
"z"
:
3
},
"orientation"
:{
"x"
:
0
,
"y"
:
0
,
"z"
:
0
,
"w"
:
1
}}}}]
\ No newline at end of file
Assets/DLU/Scripts/SceneController.cs
View file @
e200e77b
...
...
@@ -61,17 +61,20 @@ public class SceneController : MonoBehaviour
foreach
(
SemanticBehaviour
sb
in
this
.
semanticBehaviours
)
{
JSONObject
jsonObject
=
null
;
if
(!
sceneDict
.
ContainsKey
(
sb
.
name
))
string
name
=
sb
.
GetComponent
<
InstanceIdentifier
>().
name
;
if
(!
sceneDict
.
ContainsKey
(
name
))
{
jsonObject
=
new
JSONObject
();
jsonObject
.
Add
(
"name"
,
name
);
jsonObject
.
Add
(
"is_a"
,
new
JSONArray
());
jsonObject
.
Add
(
"name"
,
sb
.
GetComponent
<
InstanceIdentifier
>().
name
);
jsonObject
.
Add
(
"components"
,
new
JSONObject
());
sceneDict
[
sb
.
name
]
=
jsonObject
;
sceneArray
.
Add
(
sceneDict
[
sb
.
name
]);
sceneDict
[
name
]
=
jsonObject
;
sceneArray
.
Add
(
sceneDict
[
name
]);
}
jsonObject
=
sceneDict
[
sb
.
name
];
jsonObject
=
sceneDict
[
name
];
jsonObject
[
"is_a"
].
Add
(
sb
.
is_a
);
switch
(
sb
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment