class MeshEntityTester


A test data accessor for a MeshEntity to inspect and manipulate underlying fake data.

In a test environment, each entity created via MeshEntity.create is backed by corresponding fake data in the fake runtime. This class provides a way to bridge the public MeshEntity API with its internal fake state.

Summary

Public functions

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

Public properties

List<Matrix4>

A list of Matrix4 objects representing the value set in MeshEntity.setBoneTransforms.

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

boneTransforms

Added in 1.0.0-alpha16
val boneTransformsList<Matrix4>

A list of Matrix4 objects representing the value set in MeshEntity.setBoneTransforms. The order in the list corresponds to the bone indices. The number of transforms can be less than MeshEntity.boneCount, in which case only the provided bones are updated. Any extra transforms beyond MeshEntity.boneCount will be ignored.