Skip to content

Commit 97fef82

Browse files
authored
Create ContentView.swift
1 parent 3556d67 commit 97fef82

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
//
2+
// ContentView.swift
3+
// VisionParticleEffects
4+
5+
import SwiftUI
6+
import RealityKit
7+
import RealityKitContent
8+
9+
struct ContentView: View {
10+
var body: some View {
11+
VStack {
12+
Model3D(named: "Scene", bundle: realityKitContentBundle)
13+
.padding(.bottom, 50)
14+
15+
Text("Hello, Particle Effects!")
16+
.font(.largeTitle)
17+
}
18+
.padding()
19+
}
20+
}
21+
22+
#Preview(windowStyle: .automatic) {
23+
ContentView()
24+
}

0 commit comments

Comments
 (0)