TestGltfModelNode
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.BuilderBuilder for |
Public methods |
|
|---|---|
boolean |
|
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 |
getName()The name of the node. |
int |
hashCode() |
Public methods
getLocalPose
public final @NonNull Pose getLocalPose()
The local pose (position and rotation) of the node relative to its immediate parent.
getLocalScale
public final @NonNull Vector3 getLocalScale()
The local scale of the node relative to its immediate parent.
getModelPose
public final @NonNull Pose getModelPose()
The pose (position and rotation) of the node relative to the model's root node.
getModelScale
public final @NonNull Vector3 getModelScale()
The scale of the node relative to the model's root node.