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

public final class TestGltfModelNode.Builder

Builder for TestGltfModelNode.

Public methods

boolean
equals(Object other)
final @NonNull Pose

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

final @NonNull Vector3

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

final @NonNull Pose

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

final @NonNull Vector3

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

final String

The name of the node.

int

Public methods

equals

public boolean equals(Object other)

getLocalPose

Added in 1.0.0-alpha16
public final @NonNull Pose getLocalPose()

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

getLocalScale

Added in 1.0.0-alpha16
public final @NonNull Vector3 getLocalScale()

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

getModelPose

Added in 1.0.0-alpha16
public final @NonNull Pose getModelPose()

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

getModelScale

Added in 1.0.0-alpha16
public final @NonNull Vector3 getModelScale()

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

getName

Added in 1.0.0-alpha16
public final String getName()

The name of the node.

hashCode

public int hashCode()