# TestGltfModelNode

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

*** ** * ** ***


```
class TestGltfModelNode
```

<br />

*** ** * ** ***

A test-only data class that mirrors the properties of a `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/GltfModelNode`.

This is used to define the characteristics of a node to be added to a `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/testing/GltfModelEntityTester` for testing purposes.

## Summary

| ### Nested types |
|---|
| `class https://developer.android.com/reference/kotlin/androidx/xr/scenecore/testing/TestGltfModelNode.Builder` Builder for `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/testing/TestGltfModelNode`. |

| ### Public functions |
|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/testing/TestGltfModelNode#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/testing/TestGltfModelNode#hashCode()()` |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/runtime/math/Pose` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/testing/TestGltfModelNode#localPose()` The local pose (position and rotation) of the node relative to its immediate parent. |
| `https://developer.android.com/reference/kotlin/androidx/xr/runtime/math/Vector3` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/testing/TestGltfModelNode#localScale()` The local scale of the node relative to its immediate parent. |
| `https://developer.android.com/reference/kotlin/androidx/xr/runtime/math/Pose` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/testing/TestGltfModelNode#modelPose()` The pose (position and rotation) of the node relative to the model's root node. |
| `https://developer.android.com/reference/kotlin/androidx/xr/runtime/math/Vector3` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/testing/TestGltfModelNode#modelScale()` The scale of the node relative to the model's root node. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | `https://developer.android.com/reference/kotlin/androidx/xr/scenecore/testing/TestGltfModelNode#name()` The name of the node. |

## Public functions

### equals

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

### hashCode

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

## Public properties

### localPose

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

```
val localPose: Pose
```

The local pose (position and rotation) of the node relative to its immediate parent.

### localScale

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

```
val localScale: Vector3
```

The local scale of the node relative to its immediate parent.

### modelPose

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

```
val modelPose: Pose
```

The pose (position and rotation) of the node relative to the model's root node.

### modelScale

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

```
val modelScale: Vector3
```

The scale of the node relative to the model's root node.

### name

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

```
val name: String?
```

The name of the node.