From ff3336679d9555fe61ea92a291c435792cc46a22 Mon Sep 17 00:00:00 2001 From: "Kae..pl" Date: Thu, 29 Sep 2011 15:26:48 +0000 Subject: [PATCH] Setter for generated texture depth added. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8316 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/blender/com/jme3/asset/BlenderKey.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/engine/src/blender/com/jme3/asset/BlenderKey.java b/engine/src/blender/com/jme3/asset/BlenderKey.java index d37910bb5..46582a253 100644 --- a/engine/src/blender/com/jme3/asset/BlenderKey.java +++ b/engine/src/blender/com/jme3/asset/BlenderKey.java @@ -165,6 +165,15 @@ public class BlenderKey extends ModelKey { public int getGeneratedTextureHeight() { return generatedTextureHeight; } + + /** + * This method sets the depth of generated texture (in pixels). By default the value is 20 px. + * @param generatedTextureDepth + * the depth of generated texture + */ + public void setGeneratedTextureDepth(int generatedTextureDepth) { + this.generatedTextureDepth = generatedTextureDepth; + } /** * This method returns the depth of generated texture (in pixels). By default the value is 20 px.