public static class B3DModel.Vertex
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private Vector4f |
color |
private Vector3f |
normal |
private Vector3f |
pos |
private Vector4f[] |
texCoords |
Constructor and Description |
---|
Vertex(Vector3f pos,
Vector3f normal,
Vector4f color,
Vector4f[] texCoords) |
Modifier and Type | Method and Description |
---|---|
B3DModel.Vertex |
bake(B3DModel.Mesh mesh,
java.util.function.Function<B3DModel.Node<?>,Matrix4f> animator) |
Vector4f |
getColor() |
Vector3f |
getNormal() |
Vector3f |
getPos() |
Vector4f[] |
getTexCoords() |
java.lang.String |
toString() |
private final Vector3f pos
@Nullable private final Vector3f normal
@Nullable private final Vector4f color
private final Vector4f[] texCoords
public B3DModel.Vertex bake(B3DModel.Mesh mesh, java.util.function.Function<B3DModel.Node<?>,Matrix4f> animator)
public Vector3f getPos()
@Nullable public Vector3f getNormal()
@Nullable public Vector4f getColor()
public Vector4f[] getTexCoords()
public java.lang.String toString()
toString
in class java.lang.Object