# SurfaceEntity.Shape.Hemisphere

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

*** ** * ** ***


```
class SurfaceEntity.Shape.Hemisphere : SurfaceEntity.Shape
```

<br />

*** ** * ** ***

An inwards-facing hemisphere-shaped canvas, where (0,0,0) is the center of the base of the hemisphere. Radius is represented in the local spatial coordinate system of the entity. This is intended to be used by setting the entity's pose to the user's head pose. The center of the Surface will be mapped to (0, 0, -radius) in the local coordinate space, and texture coordinate UV's are applied from positive X to negative X in an equirectangular projection.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/SurfaceEntity.Shape.Hemisphere#Hemisphere(kotlin.Float)(radius: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/SurfaceEntity.Shape.Hemisphere#radius()` The radius of the hemisphere in the local spatial coordinate system of the entity. |

## Public constructors

### Hemisphere

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-scenecore#1.0.0)

```
Hemisphere(radius: Float)
```

## Public properties

### radius

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/xr-scenecore#1.0.0)

```
val radius: Float
```

The radius of the hemisphere in the local spatial coordinate system of the entity.