Added getter for patchVertexCount
This commit is contained in:
parent
fd78f4d896
commit
58bcb39a2d
@ -1370,13 +1370,21 @@ public class Mesh implements Savable, Cloneable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the count of vertics used for each tessellation patch
|
* Sets the count of vertices used for each tessellation patch
|
||||||
* @param patchVertexCount
|
* @param patchVertexCount
|
||||||
*/
|
*/
|
||||||
public void setPatchVertexCount(int patchVertexCount) {
|
public void setPatchVertexCount(int patchVertexCount) {
|
||||||
this.patchVertexCount = patchVertexCount;
|
this.patchVertexCount = patchVertexCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the amout of vertices used for each patch;
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public int getPatchVertexCount() {
|
||||||
|
return patchVertexCount;
|
||||||
|
}
|
||||||
|
|
||||||
public void write(JmeExporter ex) throws IOException {
|
public void write(JmeExporter ex) throws IOException {
|
||||||
OutputCapsule out = ex.getCapsule(this);
|
OutputCapsule out = ex.getCapsule(this);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user