|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjme.geometry.model.Vertex
A Vertex is a 3D point (x,y,z) along with a 2D texture map point (u,v). It also knows which bone (Joint) it is associated with for animations.
Field Summary | |
int |
boneIndex
The index into the array of bones (Joint) in the model. |
int |
flags
The flags in MS3D. |
float |
u
The x value of the 2D texture point. |
float |
v
The y value of the 2D texture point. |
float |
x
The x value of the 3D point. |
float |
y
The y value of the 3D point. |
float |
z
The z value of the 3D point. |
Constructor Summary | |
Vertex()
|
|
Vertex(int flags,
float x,
float y,
float z,
float u,
float v,
int boneIndex)
Creates a Vertex with the given 3D point and texture coordinates, as well as a bone reference if used in animations. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int flags
public float x
public float y
public float z
public float u
public float v
public int boneIndex
Constructor Detail |
public Vertex()
public Vertex(int flags, float x, float y, float z, float u, float v, int boneIndex)
flags
- the flags in MS3D.x
- the x value of the 3D point.y
- the y value of the 3D point.z
- the z value of the 3D point.u
- the x value of the 2D texture point.v
- the y value of the 2D texture point.boneIndex
- the index into the array of bones (Joint) in the model.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |