com.jme3.scene.plugins.blender.textures.blending
Class TextureBlenderFactory
java.lang.Object
com.jme3.scene.plugins.blender.textures.blending.TextureBlenderFactory
public class TextureBlenderFactory
- extends java.lang.Object
This class creates the texture blending class depending on the texture type.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextureBlenderFactory
public TextureBlenderFactory()
createTextureBlender
public static TextureBlender createTextureBlender(Image.Format format,
int flag,
boolean negate,
int blendType,
float[] materialColor,
float[] color,
float colfac)
- This method creates the blending class.
- Parameters:
format
- the texture format
- Returns:
- texture blending class
alterTextureType
public static TextureBlender alterTextureType(Image.Format format,
TextureBlender textureBlender)
- This method changes the image format in the texture blender.
- Parameters:
format
- the new image formattextureBlender
- the texture blender that will be altered
- Returns:
- altered texture blender