|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.java.joglutils.msg.misc.PrimitiveVertex
public class PrimitiveVertex
Represents a vertex on a primitive, including pieces of relevant information such as location, surface normal and texture coordinates.
Constructor Summary | |
---|---|
PrimitiveVertex()
|
Method Summary | |
---|---|
Object |
clone()
|
PrimitiveVertex |
copy()
Performs a "deep copy" of this PrimitiveVertex so that it shares none of its contents with this one. |
Vec4f |
getColor()
Returns the color in this PrimitiveVertex, or null if it is not known. |
Vec3f |
getCoord()
Returns the coordinate in this PrimitiveVertex, or null if it is not known. |
Vec3f |
getNormal()
Returns the normal in this PrimitiveVertex, or null if it is not known. |
Vec2f |
getTexCoord()
Returns the texture coordinate in this PrimitiveVertex, or null if it is not known. |
void |
setColor(Vec4f color)
Sets the color in this PrimitiveVertex. |
void |
setCoord(Vec3f coord)
Sets the coordinate in this PrimitiveVertex. |
void |
setNormal(Vec3f normal)
Sets the normal in this PrimitiveVertex. |
void |
setTexCoord(Vec2f texCoord)
Sets the texture coordinate in this PrimitiveVertex. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrimitiveVertex()
Method Detail |
---|
public Object clone()
clone
in class Object
public PrimitiveVertex copy()
public void setCoord(Vec3f coord)
public Vec3f getCoord()
public void setTexCoord(Vec2f texCoord)
public Vec2f getTexCoord()
public void setColor(Vec4f color)
public Vec4f getColor()
public void setNormal(Vec3f normal)
public Vec3f getNormal()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |