# PlaneType

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

*** ** * ** ***


```
public final class PlaneType
```

<br />

*** ** * ** ***

A simple summary of the normal vector of a `https://developer.android.com/reference/androidx/xr/arcore/Plane`.

## Summary

| ### Public fields |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/arcore/PlaneType` | `https://developer.android.com/reference/androidx/xr/arcore/PlaneType#HORIZONTAL_DOWNWARD_FACING()` A horizontal plane facing downward (e.g. a ceiling). |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/arcore/PlaneType` | `https://developer.android.com/reference/androidx/xr/arcore/PlaneType#HORIZONTAL_UPWARD_FACING()` A horizontal plane facing upward (e.g. floor or tabletop). |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/arcore/PlaneType` | `https://developer.android.com/reference/androidx/xr/arcore/PlaneType#VERTICAL()` A vertical plane (e.g. a wall). |

| ### 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/arcore/PlaneType#toString()()` Returns a string representation of `https://developer.android.com/reference/androidx/xr/arcore/PlaneType` for debugging. |

## Public fields

### HORIZONTAL_DOWNWARD_FACING

```
public static final @NonNull PlaneType HORIZONTAL_DOWNWARD_FACING
```

A horizontal plane facing downward (e.g. a ceiling).

### HORIZONTAL_UPWARD_FACING

```
public static final @NonNull PlaneType HORIZONTAL_UPWARD_FACING
```

A horizontal plane facing upward (e.g. floor or tabletop).

### VERTICAL

```
public static final @NonNull PlaneType VERTICAL
```

A vertical plane (e.g. a wall).

## Public methods

### toString

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

Returns a string representation of `https://developer.android.com/reference/androidx/xr/arcore/PlaneType` for debugging.

Note: Not intended for production use.