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