Stay organized with collections
Save and categorize content based on your preferences.
object PlaneOrientation
Type of plane based on orientation i.e. Horizontal or Vertical.
Summary
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-08-13 UTC.
[null,null,["Last updated 2025-08-13 UTC."],[],[],null,["# PlaneOrientation\n================\n\nArtifact: [androidx.xr.scenecore:scenecore](/jetpack/androidx/releases/xr-scenecore) \n[View Source](https://cs.android.com/search?q=file:androidx/xr/scenecore/Types.kt+class:androidx.xr.scenecore.PlaneOrientation) \nAdded in [1.0.0-alpha06](/jetpack/androidx/releases/xr-scenecore#1.0.0-alpha06)\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/androidx/xr/scenecore/PlaneOrientation \"View this page in Java\")\n\n\n```\nobject PlaneOrientation\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nType of plane based on orientation i.e. Horizontal or Vertical.\n\nSummary\n-------\n\n| ### Constants |\n|-------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|\n| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [ANY](/reference/kotlin/androidx/xr/scenecore/PlaneOrientation#ANY())` = 2` |\n| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [HORIZONTAL](/reference/kotlin/androidx/xr/scenecore/PlaneOrientation#HORIZONTAL())` = 0` |\n| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [VERTICAL](/reference/kotlin/androidx/xr/scenecore/PlaneOrientation#VERTICAL())` = 1` |\n\nConstants\n---------\n\n### ANY\n\nAdded in [1.0.0-alpha06](/jetpack/androidx/releases/xr-scenecore#1.0.0-alpha06) \n\n```\nconst val ANY = 2: Int\n``` \n\n### HORIZONTAL\n\nAdded in [1.0.0-alpha06](/jetpack/androidx/releases/xr-scenecore#1.0.0-alpha06) \n\n```\nconst val HORIZONTAL = 0: Int\n``` \n\n### VERTICAL\n\nAdded in [1.0.0-alpha06](/jetpack/androidx/releases/xr-scenecore#1.0.0-alpha06) \n\n```\nconst val VERTICAL = 1: Int\n```"]]