Commit Graph

3 Commits

Author SHA1 Message Date
adam kinge
5a69eb894e Add a new Platform VisionOS Project Settings panel to enable/disable VisionOS's full immersion vs window mode
#jira UE-194826
#rb josh.adams

[CL 28113411 by adam kinge in ue5-main branch]
2023-09-21 19:03:01 -04:00
Josh Adams
574dc31ccb - Very very early support for UE running as a SwiftUI app:
- .ini settings for using SwiftUI main function
  - this will eanble #defines, etc, to enable some embedded style functionality in UE, where SwiftUI will trigger when to create the engine/view/etc
  - assume fully immersive mode, which uses CompositorServices to get drawables from SwiftUI land
  - Added some code to FMetalViewport for using Composotir layer/drawable instead of CoreAnimation layer/drawable
  - If the .ini setting is false, then it will use the original VIsionOS support which works generally in the simulator

- Also removed -lc++ commandline which was causing "duplicate -lc++" warning when building in recent Xcode

#rb adam.kinge

[CL 26769312 by Josh Adams in ue5-main branch]
2023-08-02 09:09:16 -04:00
josh adams
e64cc70e03 - Moved VisionOS libs to Engine/Platforms
- Updated Build.cs for IOS group to allow VisionOS, and use the new PlatformModuleDirectory stuff to allow for platform extension (VisionOS) to use same code as non-extensions (IOS/TVOS)
#rb adam.kinge

[CL 26618503 by josh adams in ue5-main branch]
2023-07-26 15:45:21 -04:00