1.2K Views
June 27, 24
スライド概要
2024-06-26
西本卓也 @24motz / @nishimotz
shuaruta.com
すごい広島 IT初心者の会 [87]
https://pycon-hiroshima.connpass.com/event/321966/
Shuaruta Inc. ウェブアクセシビリティ基盤委員会 (WAIC) NVDA日本語版 すごい広島 with Python
2024-06-26 @24motz / @nishimotz shuaruta.com 1
• https://developer.apple.com/jp/videos/play/wwdc2023/10203/ • Xcode • Reality Composer Pro visionOS RealityKit RealityView visionOS 3D SwiftUI Xcode Previews • 2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import SwiftUI
struct SwiftUIView: View {
@State private var message: String = "Hello, World!" //
}
var body: some View {
Text(message)
.font(.largeTitle) //
.padding() //
.onTapGesture {
//
message = message == "Hello, World!" ? "Tapped!" : "Hello, World!"
}
}
#Preview {
SwiftUIView()
}
17
Simulator 1
Scene var body: some View { VStack { RealityView { content in // Add the initial RealityKit content if let scene = try? await Entity(named: "Scene", in: realityKitContentBundle) { content.add(scene) } 1
20
Open in Reality Composer Pro 2
22
NewScene.usda 2
24
25
26
27
2
visionOS Pathway 29