class TestGltfModelNode


A test-only data class that mirrors the properties of a GltfModelNode.

This is used to define the characteristics of a node to be added to a GltfModelEntityTester for testing purposes.

Summary

Nested types

Builder for TestGltfModelNode.

Public functions

open operator Boolean
equals(other: Any?)
open Int

Public properties

Pose

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

Vector3

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

Pose

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

Vector3

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

String?

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-alpha16
val localPosePose

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

localScale

Added in 1.0.0-alpha16
val localScaleVector3

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

modelPose

Added in 1.0.0-alpha16
val modelPosePose

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

modelScale

Added in 1.0.0-alpha16
val modelScaleVector3

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

name

Added in 1.0.0-alpha16
val nameString?

The name of the node.