# SurfaceEntity.Shape

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/SurfaceEntity.kt+class:androidx.xr.scenecore.SurfaceEntity.Shape) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-scenecore#1.0.0)

*** ** * ** ***


```
interface SurfaceEntity.Shape
```

<br />

Known direct subclasses [SurfaceEntity.Shape.Hemisphere](https://developer.android.com/reference/kotlin/androidx/xr/scenecore/SurfaceEntity.Shape.Hemisphere), [SurfaceEntity.Shape.Quad](https://developer.android.com/reference/kotlin/androidx/xr/scenecore/SurfaceEntity.Shape.Quad), [SurfaceEntity.Shape.Sphere](https://developer.android.com/reference/kotlin/androidx/xr/scenecore/SurfaceEntity.Shape.Sphere)

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/SurfaceEntity.Shape.Hemisphere` | An inwards-facing hemisphere-shaped canvas, where (0,0,0) is the center of the base of the hemisphere. |
| `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/SurfaceEntity.Shape.Quad` | A Quadrilateral-shaped canvas. |
| `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/SurfaceEntity.Shape.Sphere` | cal An inwards-facing sphere-shaped mesh, centered at (0,0,0) in the local coordinate space. |

*** ** * ** ***

Represents the shape of the Canvas that backs a SurfaceEntity.

## Summary

| ### Nested types |
|---|
| `class https://developer.android.com/reference/kotlin/androidx/xr/scenecore/SurfaceEntity.Shape.Hemisphere : https://developer.android.com/reference/kotlin/androidx/xr/scenecore/SurfaceEntity.Shape` An inwards-facing hemisphere-shaped canvas, where (0,0,0) is the center of the base of the hemisphere. |
| `class https://developer.android.com/reference/kotlin/androidx/xr/scenecore/SurfaceEntity.Shape.Quad : https://developer.android.com/reference/kotlin/androidx/xr/scenecore/SurfaceEntity.Shape` A Quadrilateral-shaped canvas. |
| `class https://developer.android.com/reference/kotlin/androidx/xr/scenecore/SurfaceEntity.Shape.Sphere : https://developer.android.com/reference/kotlin/androidx/xr/scenecore/SurfaceEntity.Shape` cal An inwards-facing sphere-shaped mesh, centered at (0,0,0) in the local coordinate space. |