# PlaneOrientation

Artifact: [androidx.xr.scenecore:scenecore](https://developer.android.com/jetpack/androidx/releases/xr-scenecore) [View Source](https://cs.android.com/search?q=file:androidx/xr/scenecore/Types.kt+class:androidx.xr.scenecore.PlaneOrientation) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-scenecore#1.0.0)

*** ** * ** ***


```
public final class PlaneOrientation
```

<br />

*** ** * ** ***

Orientation of a plane, to specify valid surfaces for anchoring.

For example, see `https://developer.android.com/reference/androidx/xr/scenecore/MovableComponent#createAnchorable(androidx.xr.runtime.Session,kotlin.collections.Set,kotlin.Boolean)`.

## Summary

| ### Public fields |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/Set.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/scenecore/PlaneOrientation>` | `https://developer.android.com/reference/androidx/xr/scenecore/PlaneOrientation#ALL()` Immutable Set containing all PlaneOrientations. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/scenecore/PlaneOrientation` | `https://developer.android.com/reference/androidx/xr/scenecore/PlaneOrientation#HORIZONTAL()` Specify horizontal planes. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/scenecore/PlaneOrientation` | `https://developer.android.com/reference/androidx/xr/scenecore/PlaneOrientation#VERTICAL()` Specify vertical planes. |

| ### Public methods |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/xr/scenecore/PlaneOrientation#toString()()` |

## Public fields

### ALL

```
public static final @NonNull Set<@NonNull PlaneOrientation> ALL
```

Immutable Set containing all PlaneOrientations.

### HORIZONTAL

```
public static final @NonNull PlaneOrientation HORIZONTAL
```

Specify horizontal planes.

### VERTICAL

```
public static final @NonNull PlaneOrientation VERTICAL
```

Specify vertical planes.

## Public methods

### toString

```
public @NonNull String toString()
```