# SpatialPointerIcon

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

*** ** * ** ***


```
public final class SpatialPointerIcon
```

<br />

*** ** * ** ***

Specifies the icon that is rendered at the pointer's location on entities in the spatialized scene.

## Summary

| ### Public fields |
|---|---|
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/scenecore/SpatialPointerIcon` | `https://developer.android.com/reference/androidx/xr/scenecore/SpatialPointerIcon#CIRCLE()` Renders the icon for the pointer as a circle. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/scenecore/SpatialPointerIcon` | `https://developer.android.com/reference/androidx/xr/scenecore/SpatialPointerIcon#DEFAULT()` Use the default pointer icon, as determined by the system. |
| `static final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/xr/scenecore/SpatialPointerIcon` | `https://developer.android.com/reference/androidx/xr/scenecore/SpatialPointerIcon#NONE()` Do not render an icon for the pointer; this option can be used to hide the pointer icon, either because the client wants it to be invisible or to implement custom icon rendering. |

| ### 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/SpatialPointerIcon#toString()()` |

## Public fields

### CIRCLE

```
public static final @NonNull SpatialPointerIcon CIRCLE
```

Renders the icon for the pointer as a circle.

### DEFAULT

```
public static final @NonNull SpatialPointerIcon DEFAULT
```

Use the default pointer icon, as determined by the system.

### NONE

```
public static final @NonNull SpatialPointerIcon NONE
```

Do not render an icon for the pointer; this option can be used to hide the pointer icon, either because the client wants it to be invisible or to implement custom icon rendering.

## Public methods

### toString

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