public final 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 methods

boolean
equals(Object other)
final @NonNull List<@NonNull Matrix4>

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

int

Public methods

equals

public boolean equals(Object other)

getBoneTransforms

Added in 1.0.0-alpha16
public final @NonNull List<@NonNull Matrix4getBoneTransforms()

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.

hashCode

public int hashCode()