Setter for generated texture depth added.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8316 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
Kae..pl 13 years ago
parent 73f073c794
commit ff3336679d
  1. 9
      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.

Loading…
Cancel
Save