public static class OBJModel.Vertex
extends java.lang.Object
Constructor and Description |
---|
Vertex(javax.vecmath.Vector4f position,
OBJModel.Material material) |
Modifier and Type | Method and Description |
---|---|
OBJModel.Material |
getMaterial() |
OBJModel.Normal |
getNormal() |
javax.vecmath.Vector4f |
getPos() |
javax.vecmath.Vector3f |
getPos3() |
OBJModel.TextureCoordinate |
getTextureCoordinate() |
boolean |
hasNormal() |
boolean |
hasTextureCoordinate() |
void |
setMaterial(OBJModel.Material material) |
void |
setNormal(OBJModel.Normal normal) |
void |
setPos(javax.vecmath.Vector4f position) |
void |
setTextureCoordinate(OBJModel.TextureCoordinate texCoord) |
java.lang.String |
toString() |
public Vertex(javax.vecmath.Vector4f position, OBJModel.Material material)
public void setPos(javax.vecmath.Vector4f position)
public javax.vecmath.Vector4f getPos()
public javax.vecmath.Vector3f getPos3()
public boolean hasNormal()
public void setNormal(OBJModel.Normal normal)
public OBJModel.Normal getNormal()
public boolean hasTextureCoordinate()
public void setTextureCoordinate(OBJModel.TextureCoordinate texCoord)
public OBJModel.TextureCoordinate getTextureCoordinate()
public void setMaterial(OBJModel.Material material)
public OBJModel.Material getMaterial()
public java.lang.String toString()
toString
in class java.lang.Object