Advertisement · 728 × 90
#
Hashtag
#VR_AR_MR
Advertisement · 728 × 90
Preview
Japan's Ministry of Internal Affairs Hosts Meeting to Promote Immersive Technology Utilization The Ministry of Internal Affairs of Japan is organizing a multi-stakeholder meeting to boost the use of immersive technologies such as VR, AR, and MR to address social issues.

Japan's Ministry of Internal Affairs Hosts Meeting to Promote Immersive Technology Utilization #Japan #Tokyo #Immersive_Technology #Ministry_of_Internal_Affairs #VR_AR_MR

0 0 0 0

#China #VR_AR_MR #robotics
A humanoid robot-shaped bubble is forming, China warns | The Verge.
www.theverge.com/news/831451/china-humano...

0 1 0 0
Preview
Epic CEO Tim Sweeney says Steam should drop its ‘Made with AI’ tags ‘AI will be involved in nearly all future production.’

#VR_AR_MR #mixedreality #EpicGames
Epic CEO Tim Sweeney says Steam should drop its ‘Made with AI’ tags | The Verge
www.theverge.com/news/831747/tim-sweeney-...

0 1 1 0
Preview
"Steam Frame": Valves nächste VR-Brille darf sich keine Kompromisse erlauben Ein neues Headset, ein neuer Markenname und eine neue Zielgruppe: Valve bastelt an einer VR-Brille, die den XR-Markt erneut aufmischen könnte.

"Steam Frame": Valve's next VR headset can't afford any compromises | Josef Erl | heise online www.heise.de/hintergrund/Steam-Frame-...
#VR_AR_MR #vr #Valve #Steam_Frame

0 0 0 0
How to open and dismiss windows in visionOS ### Window Groups Everything starts in the SwiftUI App file. When the app launches, a new window will be created using this window group and the `ContentView`. import SwiftUI @main struct Garden01App: App { var body: some Scene { WindowGroup { ContentView() } } } Let’s add another window group, this time with an id value. import SwiftUI @main struct Garden01App: App { var body: some Scene { WindowGroup { ContentView() } WindowGroup(id: "YellowFlower") { YellowFlowerView() } } } Now we have a second window with an id “YellowFlower” which loads a view called `YellowFlowerView`. Note: By default, the app will open the first WindowGroup. This is based on the order the groups appear in the App file. ### Open Window So how do we open our new window? First we retrieve `openWindow` from the environment. Then we can call this with an id to open an instance of this window: `openWindow(id: "YellowFlower")`. struct ContentView: View { @Environment(\.openWindow) var openWindow @Environment(\.dismissWindow) var dismissWindow var body: some View { VStack(spacing: 24) { Text("Window Garden 🌸") .font(.extraLargeTitle2) Text("Open and Close a window with an id value of `YellowFlower`") HStack { Button(action: { openWindow(id: "YellowFlower") }, label: { Label("Open Window", systemImage: "inset.filled.center.rectangle.badge.plus") }) Button(action: { dismissWindow(id: "YellowFlower") }, label: { Label("Close Window", systemImage: "xmark.circle") }) } } .padding() } } ### Dismiss Window Closing a window is very similar to opening one. We can add the `dismissWindow` environment value and call it to close a window by id. We could even add the close window button to the new window. struct ContentView: View { @Environment(\.openWindow) var openWindow @Environment(\.dismissWindow) var dismissWindow var body: some View { VStack(spacing: 24) { Text("Window Garden 🌸") .font(.extraLargeTitle2) Text("Open and Close a window with an id value of `YellowFlower`") HStack { Button(action: { openWindow(id: "YellowFlower") }, label: { Label("Open Window", systemImage: "inset.filled.center.rectangle.badge.plus") }) Button(action: { dismissWindow(id: "YellowFlower") }, label: { Label("Close Window", systemImage: "xmark.circle") }) } } .padding() } } #### Demo 01 – Opening and closing the window #### Demo 02 – Closing multiple windows with the same id value You should be aware of some important details here. We can tap the open window button as many times as we like, opening multiple instances of the new window. But when we tap the close window button, all windows with an id that matches our value will be closed at the same time. Sample code is available in Garden01 in Step Into Example Projects _Download the Xcode project_ _with this and many more examples from Step Into**Vision**._ _Some examples are provided as standalone Xcode projects. You can find thosehere._

#Apple #vr #VR_AR_MR #SpatialComputing

How to Open and Dismiss Windows in visionOS - Step Into Vision.
stepinto.vision/example-code/how-to-open...

0 1 1 0