Class VisionOSSettings
Holds settings that are used to configure the Apple visionOS XR Plug-in.
Implements
Inherited Members
Namespace: UnityEditor .XR.VisionOS
Assembly: Unity.XR.VisionOS.Editor.dll
Syntax
[Serializable]
[XRConfigurationData("Apple visionOS", "UnityEditor.XR.VisionOS.VisionOSSettings")]
public class VisionOSSettings : ScriptableObject, IPackageSettings
Properties
appMode
App mode.
Declaration
public VisionOSSettings.AppMode appMode { get; set; }
Property Value
Type | Description |
---|---|
Vision |
currentSettings
Get or set the Vision
Declaration
public static VisionOSSettings currentSettings { get; set; }
Property Value
Type | Description |
---|---|
Vision |
foveatedRendering
Controls if foveated rendering is enabled or disabled. This setting only applies to Virtual Reality apps. Foveated rendering requires the Universal Render Pipeline.
Declaration
public bool foveatedRendering { get; set; }
Property Value
Type | Description |
---|---|
bool |
handsTrackingUsageDescription
Hands tracking usage description (added to Info.plist).
Declaration
public string handsTrackingUsageDescription { get; set; }
Property Value
Type | Description |
---|---|
string |
il2CPPLargeExeWorkaround
Setting that determines if the IL2CPP_LARGE_EXECUTABLE_ARM_WORKAROUND flag is used when building an Xcode project.
Declaration
public bool il2CPPLargeExeWorkaround { get; set; }
Property Value
Type | Description |
---|---|
bool |
upperLimbVisibility
Upper limb visibility setting (currently only set at the beginning of an app)
Declaration
public bool upperLimbVisibility { get; set; }
Property Value
Type | Description |
---|---|
bool |
worldSensingUsageDescription
World sensing usage description (added to Info.plist).
Declaration
public string worldSensingUsageDescription { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
GetOrCreateRuntimeSettings()
Declaration
public VisionOSRuntimeSettings GetOrCreateRuntimeSettings()
Returns
Type | Description |
---|---|
Vision |
GetOrCreateSettings()
Gets the currently selected settings, or creates default settings if no Vision
Declaration
public static VisionOSSettings GetOrCreateSettings()
Returns
Type | Description |
---|---|
Vision |
The visionOS settings to use for the current Player build. |