Class VisionOSSettings
Holds settings that are used to configure the Apple visionOS XR Plug-in.
Inherited Members
Namespace: UnityEditor.XR.VisionOS
Assembly: solution.dll
Syntax
[Serializable]
[XRConfigurationData("Apple visionOS", "UnityEditor.XR.VisionOS.VisionOSSettings")]
public class VisionOSSettings : ScriptableObject
Properties
Name | Description |
---|---|
appMode | App mode. |
currentSettings | Get or set the VisionOSSettings to use for the Player build. |
deviceTarget | Targeted device. |
renderMode | Stereo rendering mode. |
volumeDimensions | Volume mode. |
volumeMode | Volume mode. |
Methods
Name | Description |
---|---|
GetOrCreateSettings() | Gets the currently selected settings, or creates default settings if no VisionOSSettings have been set in Player Settings. |
SetDeviceTargetAndUpdateRenderMode(DeviceTarget) | Set the target device, which will also update the renderMode accordingly. |