# MeshSubsetTopology

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

*** ** * ** ***


```
class MeshSubsetTopology
```

<br />

*** ** * ** ***

Defines the topology of the indices in a `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/MeshSubset`.

This specifies how the index buffer maps vertices to geometric primitives.

## Summary

| ### Public companion properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/MeshSubsetTopology` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/MeshSubsetTopology#TRIANGLES()` Every three indices form a separate triangle. |
| `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/MeshSubsetTopology` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/MeshSubsetTopology#TRIANGLE_STRIP()` Every index after the first two forms a triangle with the previous two indices. |

| ### Public functions |
|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/MeshSubsetTopology#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/MeshSubsetTopology#hashCode()()` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/MeshSubsetTopology#toString()()` |

## Public companion properties

### TRIANGLES

```
val TRIANGLES: MeshSubsetTopology
```

Every three indices form a separate triangle.

### TRIANGLE_STRIP

```
val TRIANGLE_STRIP: MeshSubsetTopology
```

Every index after the first two forms a triangle with the previous two indices.

## Public functions

### equals

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

```
open fun hashCode(): Int
```

### toString

```
open fun toString(): String
```