Class VisionOS
Runtime scripting API for VisionOS.
Inherited Members
Namespace: UnityEngine.XR.VisionOS
Assembly: solution.dll
Syntax
public static class VisionOS
Methods
Name | Description |
---|---|
IsImmersiveSpaceReady() | Determine whether the immersive space for the app is ready. Return true in the Editor for testing purposes. |
IsSimulator() | Determine whether the app is running in the visionOS simulator. Treat the Editor targeting visionOS as running in simulator. |
SetDepthRange(float, float) | Set the range of values used for depth sorting. These values should match Camera.nearClipPlane and Camera.farClipPlane |