A cross-import overlay that integrates RealityKit with SwiftUI, letting you bridge the two frameworks when both are imported. It converts SwiftUI gesture values into entity coordinate spaces through types like RealityCoordinateSpaceProjecting, and exposes RealityView configuration such as RealityViewCamera, RealityViewContentProtocol, RealityViewEntityCollection, and RealityViewEnvironment. Rendering and presentation options including RealityViewDynamicRange, RealityViewLayoutOption, RealityViewPostProcessEffect, and RealityViewRenderingEffects let you tune how RealityKit content appears within a SwiftUI view on iOS, macOS, tvOS, and visionOS.
Bridging Gestures and Content 2
Protocols that connect SwiftUI gesture values and view content to RealityKit entity coordinate spaces.
- PrRealityCoordinateSpaceProjectingA protocol for coordinate spaces that can project 2D points to and from 3D.
- PrRealityViewContentProtocolA protocol representing the content of a reality view.
RealityView Camera 2
Types that configure and supply the camera used to present RealityKit content in a SwiftUI view.
- StRealityViewCameraA camera for reality view scenes, that can be world tracking or virtual.
- StRealityViewCameraContentThe content of a reality view that is displayed through a camera.
Content and Environment 2
Types that expose the entities and environment available within a RealityView.
- StRealityViewEntityCollectionA collection of entities in a RealityView.
- StRealityViewEnvironmentA struct that determines the background and default lighting properties for a reality view.
Rendering and Presentation Options 5
Options that tune how RealityKit content is laid out, rendered, and presented within a SwiftUI view.
- StRealityViewDynamicRangeOptions that determine the state of high dynamic range rendering for virtual content.
- StRealityViewLayoutOptionOptions that specify the frame sizing and content alignment option for `RealityView`.
- StRealityViewPostProcessEffectA struct for enabling or disabling post processing effects for all content a reality view contains.
- StRealityViewRenderingEffectModeA mode that determines whether a rendering effect is enabled or disabled.
- StRealityViewRenderingEffectsA struct for enabling and disabling rendering effects for RealityKit content.
Classes 1
- ClObjectCaptureSessionA session object that monitors and controls image capture for photogrammetry.
Structures 5
- StEntityTargetValueA value containing an original gesture value along with a targeted entity.
- StObjectCapturePointCloudViewRenders the current state of the point cloud from an object capture session.
- StObjectCaptureViewA view that guides a user through capturing images for object capture.
- StRealityViewA view that contains RealityKit content.
- StRealityViewDefaultPlaceholderA view that represents the default placeholder for a RealityView.