From 58bcb39a2db31b767e32c6b17ff563e1677b6326 Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 28 Feb 2015 13:38:52 +0100 Subject: [PATCH] Added getter for patchVertexCount --- jme3-core/src/main/java/com/jme3/scene/Mesh.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/jme3-core/src/main/java/com/jme3/scene/Mesh.java b/jme3-core/src/main/java/com/jme3/scene/Mesh.java index 3f074f091..a0f8e1fe6 100644 --- a/jme3-core/src/main/java/com/jme3/scene/Mesh.java +++ b/jme3-core/src/main/java/com/jme3/scene/Mesh.java @@ -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 */ public void setPatchVertexCount(int 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 { OutputCapsule out = ex.getCapsule(this);