SpatialPreviewEndpoint
An endpoint representing a visionOS device you can connect to for spatial preview.
Declaration
struct SpatialPreviewEndpointOverview
Obtain an endpoint from endpoint when a device is connected via Mac Virtual Display, or let the user select one with SpatialPreviewDevicePicker. Pass the endpoint to start(endpoint:) or start(endpoint:parameters:viewerOptions:) to begin a session.