We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae6d5a4 commit cba631dCopy full SHA for cba631d
visionOS/visionOSParticleEffects/SnowView.swift
@@ -0,0 +1,28 @@
1
+//
2
+// SnowView.swift
3
+// VisionParticleEffects
4
+
5
6
+import SwiftUI
7
+import RealityKit
8
+import RealityKitContent
9
10
+struct SnowView: View {
11
+ var body: some View {
12
+ NavigationStack {
13
+ ZStack {
14
+ Model3D(named: "Snow") { model in
15
+ model
16
+ .resizable()
17
+ .aspectRatio(contentMode: .fit)
18
+ } placeholder: {
19
+ ProgressView()
20
+ }
21
22
23
24
+}
25
26
+#Preview {
27
+ SnowView()
28
0 commit comments