public static class B3DModel.Vertex
extends java.lang.Object
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() |
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