public interface R2MeshParserInterleavedListenerType extends R2ErrorConsumerType
| Modifier and Type | Method and Description |
|---|---|
void |
onEventFinished()
Called unconditionally at the end of parsing.
|
void |
onEventStart()
Called unconditionally at the start of parsing.
|
void |
onEventTriangle(long index,
long v0,
long v1,
long v2)
A triangle was received.
|
void |
onEventTriangleCount(long count)
The number of triangles was received.
|
void |
onEventTrianglesFinished()
All triangles have been parsed.
|
void |
onEventVertexCount(long count)
The number of vertices was received.
|
void |
onEventVertexFinished(long index)
Vertex
index is finished. |
void |
onEventVertexNormal(long index,
double x,
double y,
double z)
A vertex normal was received.
|
void |
onEventVertexPosition(long index,
double x,
double y,
double z)
A vertex position was received.
|
void |
onEventVertexStarted(long index)
Vertex
index is starting. |
void |
onEventVertexTangent(long index,
double x,
double y,
double z,
double w)
A vertex tangent was received.
|
void |
onEventVertexUV(long index,
double x,
double y)
A vertex UV coordinate was received.
|
void |
onEventVerticesFinished()
All vertices have been parsed.
|
onErrorvoid onEventStart()
void onEventVertexCount(long count)
count - The number of verticesvoid onEventTriangleCount(long count)
count - The number of trianglesvoid onEventVertexStarted(long index)
index is starting.index - The vertex indexvoid onEventVertexPosition(long index,
double x,
double y,
double z)
index will be equal to the index that was
received by the most recent call to onEventVertexStarted(long).index - The vertex numberx - The X coordinatey - The Y coordinatez - The Z coordinatevoid onEventVertexNormal(long index,
double x,
double y,
double z)
index will be equal to the index that was
received by the most recent call to onEventVertexStarted(long).index - The vertex numberx - The X coordinatey - The Y coordinatez - The Z coordinatevoid onEventVertexTangent(long index,
double x,
double y,
double z,
double w)
index will be equal to the index that was
received by the most recent call to onEventVertexStarted(long).index - The vertex numberx - The X coordinatey - The Y coordinatez - The Z coordinatew - The W coordinatevoid onEventVertexUV(long index,
double x,
double y)
index will be equal to the index that was
received by the most recent call to onEventVertexStarted(long).index - The vertex numberx - The X coordinatey - The Y coordinatevoid onEventVertexFinished(long index)
index is finished.
The given index will be equal to the index that was
received by the most recent call to onEventVertexStarted(long).index - The vertex indexvoid onEventVerticesFinished()
void onEventTriangle(long index,
long v0,
long v1,
long v2)
index - The triangle numberv0 - The index of the first vertexv1 - The index of the second vertexv2 - The index of the third vertexvoid onEventTrianglesFinished()
void onEventFinished()
Copyright © 2017 <code@io7m.com> http://io7m.com