Skip to main content
API Reference NSDK NSDKView

setup

Adds the NSDKView to the given container and sets up playback rendering when in playback mode....

Declaration

@MainActor func setup(in view: UIView)

Summary

Adds the NSDKView to the given container and sets up playback rendering when in playback mode.
In playback, creates the PlaybackRenderer (background + camera) first so the camera image is drawn behind RealityKit content.
Call this after creating the NSDKView; the view is constrained to fill the container.