Class for specifying a window's initial position via VisionOSWindowOptions.Position. For all VisionOSWindowPositionType values except UtilityPanel (i.e. Above, Below, Leading, Trailing), a value for RelativeWindowID is required because the position is relative to another SwiftUI window or scene. This API mimics the native SwiftUI WindowPlacement.Position structure with which it is implemented.
VisionOSWindowPosition(VisionOSWindowPositionType type, string relativeWindowID = null)
The constructor for VisionOSWindowPosition. For all VisionOSWindowPositionType values except UtilityPanel (i.e. Above, Below, Leading, Trailing), the relativeWindowID parameter is required because the position is relative to another SwiftUI window or scene.
string RelativeWindowID
For all VisionOSWindowPositionType values except UtilityPanel (i.e. Above, Below, Leading, Trailing), the ID of the existing SwiftUI window or scene to which the position is relative.
string UnityBoundedSceneID
A constant containing Unity's default ID for a bounded scene, which can be used as a value for RelativeWindowID. The value is "Bounded-1.000x1.000x1.000"
.