com.jme3.scene.plugins.blender.textures.generating
Class TextureGeneratorVoronoi
java.lang.Object
com.jme3.scene.plugins.blender.textures.generating.TextureGenerator
com.jme3.scene.plugins.blender.textures.generating.TextureGeneratorVoronoi
public class TextureGeneratorVoronoi
- extends TextureGenerator
This class generates the 'voronoi' texture.
Constructor Summary |
TextureGeneratorVoronoi(com.jme3.scene.plugins.blender.textures.generating.NoiseGenerator noiseGenerator)
Constructor stores the given noise generator. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
noisesize
protected float noisesize
outscale
protected float outscale
mexp
protected float mexp
distanceType
protected int distanceType
voronoiColorType
protected int voronoiColorType
da
protected float[] da
pa
protected float[] pa
hashPoint
protected float[] hashPoint
voronoiWeights
protected float[] voronoiWeights
weightSum
protected float weightSum
TextureGeneratorVoronoi
public TextureGeneratorVoronoi(com.jme3.scene.plugins.blender.textures.generating.NoiseGenerator noiseGenerator)
- Constructor stores the given noise generator.
- Parameters:
noiseGenerator
- the noise generator
readData
public void readData(Structure tex,
BlenderContext blenderContext)
- Overrides:
readData
in class TextureGenerator
getPixel
public void getPixel(TexturePixel pixel,
float x,
float y,
float z)
- Specified by:
getPixel
in class TextureGenerator