Skip to content

Commit c0764b0

Browse files
committed
Temp to added visionOS support and example
1 parent e837c37 commit c0764b0

File tree

29 files changed

+910
-461
lines changed

29 files changed

+910
-461
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"pathsToIds" : {
3+
"\/RealityKitContent\/Sources\/RealityKitContent\/RealityKitContent.rkassets\/GridMaterial.usda" : "440DE5B4-E4E4-459B-AABF-9ACE96319272",
4+
"\/RealityKitContent\/Sources\/RealityKitContent\/RealityKitContent.rkassets\/procedural_sphere_grid.usda" : "34C460AE-CA1B-4348-BD05-621ACBDFFE97",
5+
"\/RealityKitContent\/Sources\/RealityKitContent\/RealityKitContent.rkassets\/Scene.usda" : "0A9B4653-B11E-4D6A-850E-C6FCB621626C",
6+
"\/RealityKitContent\/Sources\/RealityKitContent\/RealityKitContent.rkassets\/Untitled Scene.usda" : "03E02005-EFA6-48D6-8A76-05B2822A74E9",
7+
"RealityKitContent\/Sources\/RealityKitContent\/RealityKitContent.rkassets\/_GridMaterial.usda" : "01A389CE-549D-43D4-8082-422095AD9977",
8+
"RealityKitContent\/Sources\/RealityKitContent\/RealityKitContent.rkassets\/_PlainMaterial.usda" : "71393687-2933-4D8A-AC10-8E59942BADC1",
9+
"RealityKitContent\/Sources\/RealityKitContent\/RealityKitContent.rkassets\/GridMaterial.usda" : "FBD8436F-6B8B-4B82-99B5-995D538B4704",
10+
"RealityKitContent\/Sources\/RealityKitContent\/RealityKitContent.rkassets\/procedural_sphere_grid.usda" : "1CBF3893-ABFD-408C-8B91-045BFD257808",
11+
"RealityKitContent\/Sources\/RealityKitContent\/RealityKitContent.rkassets\/Scene.usda" : "26DBAE76-5DD8-47B6-A085-1B4ADA111097",
12+
"RealityKitContent\/Sources\/RealityKitContent\/RealityKitContent.rkassets\/Untitled Scene.usda" : "7EF42796-68EE-4330-954D-0853FBBEB57C"
13+
}
14+
}
Lines changed: 301 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,301 @@
1+
{
2+
"0A9B4653-B11E-4D6A-850E-C6FCB621626C" : {
3+
"cameraTransform" : [
4+
0.9807314,
5+
-1.9820146e-10,
6+
-0.195361,
7+
0,
8+
-0.10051192,
9+
0.85749435,
10+
-0.5045798,
11+
0,
12+
0.16752096,
13+
0.51449335,
14+
0.84097165,
15+
0,
16+
0.09084191,
17+
0.05849296,
18+
0.13903293,
19+
1
20+
],
21+
"objectMetadataList" : [
22+
[
23+
"0A9B4653-B11E-4D6A-850E-C6FCB621626C",
24+
"Root",
25+
"GridMaterial"
26+
],
27+
{
28+
"isExpanded" : true,
29+
"isLocked" : false
30+
},
31+
[
32+
"0A9B4653-B11E-4D6A-850E-C6FCB621626C",
33+
"Root",
34+
"Sphere"
35+
],
36+
{
37+
"isExpanded" : true,
38+
"isLocked" : false
39+
},
40+
[
41+
"0A9B4653-B11E-4D6A-850E-C6FCB621626C",
42+
"Root"
43+
],
44+
{
45+
"isExpanded" : true,
46+
"isLocked" : false
47+
}
48+
]
49+
},
50+
"01A389CE-549D-43D4-8082-422095AD9977" : {
51+
"cameraTransform" : [
52+
0.99999994,
53+
0,
54+
-0,
55+
0,
56+
-0,
57+
0.8660255,
58+
-0.49999988,
59+
0,
60+
0,
61+
0.49999988,
62+
0.8660255,
63+
0,
64+
0,
65+
0.27093542,
66+
0.46927398,
67+
1
68+
],
69+
"objectMetadataList" : [
70+
[
71+
"01A389CE-549D-43D4-8082-422095AD9977",
72+
"Root"
73+
],
74+
{
75+
"isExpanded" : true,
76+
"isLocked" : false
77+
},
78+
[
79+
"01A389CE-549D-43D4-8082-422095AD9977",
80+
"Root",
81+
"GridMaterial"
82+
],
83+
{
84+
"isExpanded" : true,
85+
"isLocked" : false
86+
}
87+
]
88+
},
89+
"1CBF3893-ABFD-408C-8B91-045BFD257808" : {
90+
"cameraTransform" : [
91+
0.99999994,
92+
0,
93+
-0,
94+
0,
95+
-0,
96+
0.8660255,
97+
-0.49999988,
98+
0,
99+
0,
100+
0.49999988,
101+
0.8660255,
102+
0,
103+
0,
104+
0.27093542,
105+
0.46927398,
106+
1
107+
],
108+
"objectMetadataList" : [
109+
110+
]
111+
},
112+
"03E02005-EFA6-48D6-8A76-05B2822A74E9" : {
113+
"cameraTransform" : [
114+
0.99999994,
115+
0,
116+
-0,
117+
0,
118+
-0,
119+
0.8660254,
120+
-0.49999994,
121+
0,
122+
0,
123+
0.49999994,
124+
0.8660254,
125+
0,
126+
0,
127+
0.5981957,
128+
1.0361054,
129+
1
130+
],
131+
"objectMetadataList" : [
132+
133+
]
134+
},
135+
"7EF42796-68EE-4330-954D-0853FBBEB57C" : {
136+
"cameraTransform" : [
137+
0.99999994,
138+
0,
139+
-0,
140+
0,
141+
-0,
142+
0.8660255,
143+
-0.49999988,
144+
0,
145+
0,
146+
0.49999988,
147+
0.8660255,
148+
0,
149+
0,
150+
0.27093542,
151+
0.46927398,
152+
1
153+
],
154+
"objectMetadataList" : [
155+
156+
]
157+
},
158+
"26DBAE76-5DD8-47B6-A085-1B4ADA111097" : {
159+
"cameraTransform" : [
160+
0.19803646,
161+
4.0888004e-10,
162+
-0.9801946,
163+
0,
164+
-0.50555825,
165+
0.85672516,
166+
-0.1021419,
167+
0,
168+
0.83975744,
169+
0.5157732,
170+
0.16966282,
171+
0,
172+
0.31840175,
173+
0.19556095,
174+
0.06472926,
175+
1
176+
],
177+
"objectMetadataList" : [
178+
[
179+
"26DBAE76-5DD8-47B6-A085-1B4ADA111097",
180+
"Root"
181+
],
182+
{
183+
"isExpanded" : true,
184+
"isLocked" : false
185+
}
186+
]
187+
},
188+
"34C460AE-CA1B-4348-BD05-621ACBDFFE97" : {
189+
"cameraTransform" : [
190+
0.99999994,
191+
0,
192+
-0,
193+
0,
194+
-0,
195+
0.8660255,
196+
-0.49999988,
197+
0,
198+
0,
199+
0.49999988,
200+
0.8660255,
201+
0,
202+
0,
203+
0.27093542,
204+
0.46927398,
205+
1
206+
],
207+
"objectMetadataList" : [
208+
209+
]
210+
},
211+
"440DE5B4-E4E4-459B-AABF-9ACE96319272" : {
212+
"cameraTransform" : [
213+
0.99999994,
214+
0,
215+
-0,
216+
0,
217+
-0,
218+
0.8660254,
219+
-0.49999994,
220+
0,
221+
0,
222+
0.49999994,
223+
0.8660254,
224+
0,
225+
0,
226+
0.5981957,
227+
1.0361054,
228+
1
229+
],
230+
"objectMetadataList" : [
231+
[
232+
"440DE5B4-E4E4-459B-AABF-9ACE96319272",
233+
"Root"
234+
],
235+
{
236+
"isExpanded" : true,
237+
"isLocked" : false
238+
}
239+
]
240+
},
241+
"71393687-2933-4D8A-AC10-8E59942BADC1" : {
242+
"cameraTransform" : [
243+
0.99999994,
244+
0,
245+
-0,
246+
0,
247+
-0,
248+
0.8660255,
249+
-0.49999988,
250+
0,
251+
0,
252+
0.49999988,
253+
0.8660255,
254+
0,
255+
0,
256+
0.27093542,
257+
0.46927398,
258+
1
259+
],
260+
"objectMetadataList" : [
261+
[
262+
"71393687-2933-4D8A-AC10-8E59942BADC1",
263+
"Root"
264+
],
265+
{
266+
"isExpanded" : true,
267+
"isLocked" : false
268+
}
269+
]
270+
},
271+
"FBD8436F-6B8B-4B82-99B5-995D538B4704" : {
272+
"cameraTransform" : [
273+
0.99999994,
274+
0,
275+
-0,
276+
0,
277+
-0,
278+
0.8660254,
279+
-0.49999994,
280+
0,
281+
0,
282+
0.49999994,
283+
0.8660254,
284+
0,
285+
0,
286+
0.5981957,
287+
1.0361054,
288+
1
289+
],
290+
"objectMetadataList" : [
291+
[
292+
"FBD8436F-6B8B-4B82-99B5-995D538B4704",
293+
"Root"
294+
],
295+
{
296+
"isExpanded" : true,
297+
"isLocked" : false
298+
}
299+
]
300+
}
301+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"cameraPresets" : {
3+
4+
},
5+
"secondaryToolbarData" : {
6+
"isGridVisible" : true,
7+
"sceneReverbPreset" : -1
8+
},
9+
"unitDefaults" : {
10+
"°" : "°",
11+
"kg" : "g",
12+
"m" : "cm",
13+
"m\/s" : "m\/s",
14+
"m\/s²" : "m\/s²",
15+
"s" : "s"
16+
}
17+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// swift-tools-version:5.7
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+
import PackageDescription
5+
6+
let package = Package(
7+
name: "RealityKitContent",
8+
products: [
9+
// Products define the executables and libraries a package produces, and make them visible to other packages.
10+
.library(
11+
name: "RealityKitContent",
12+
targets: ["RealityKitContent"]),
13+
],
14+
dependencies: [
15+
// Dependencies declare other packages that this package depends on.
16+
// .package(url: /* package url */, from: "1.0.0"),
17+
],
18+
targets: [
19+
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
20+
// Targets can depend on other targets in this package, and on products in packages this package depends on.
21+
.target(
22+
name: "RealityKitContent",
23+
dependencies: []),
24+
]
25+
)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# RealityKitContent
2+
3+
A description of this package.

0 commit comments

Comments
 (0)