public class RadialBlurFilter
extends com.jme3.post.Filter
| Constructor and Description |
|---|
RadialBlurFilter()
Creates a RadialBlurFilter
|
RadialBlurFilter(float sampleDist,
float sampleStrength)
Creates a RadialBlurFilter
|
| Modifier and Type | Method and Description |
|---|---|
protected com.jme3.material.Material |
getMaterial() |
float |
getSampleDist()
Deprecated.
|
float |
getSampleDistance()
return the sample distance
|
float |
getSampleStrength()
Returns the sample Strength
|
protected void |
initFilter(com.jme3.asset.AssetManager manager,
com.jme3.renderer.RenderManager renderManager,
com.jme3.renderer.ViewPort vp,
int w,
int h) |
void |
read(com.jme3.export.JmeImporter im) |
void |
setSampleDist(float sampleDist)
Deprecated.
|
void |
setSampleDistance(float sampleDist)
sets the samples distances default is 1
|
void |
setSampleStrength(float sampleStrength)
sets the sample strength default is 2.2
|
void |
write(com.jme3.export.JmeExporter ex) |
cleanup, cleanUpFilter, getDefaultPassDepthFormat, getDefaultPassTextureFormat, getName, getPostRenderPasses, getRenderedTexture, getRenderFrameBuffer, init, isEnabled, isRequiresBilinear, isRequiresDepthTexture, isRequiresSceneTexture, postFilter, postFrame, postQueue, preFrame, setDepthTexture, setEnabled, setName, setProcessor, setRenderedTexture, setRenderFrameBufferpublic RadialBlurFilter()
public RadialBlurFilter(float sampleDist,
float sampleStrength)
sampleDist - the distance between samplessampleStrength - the strength of each sampleprotected com.jme3.material.Material getMaterial()
getMaterial in class com.jme3.post.Filterpublic float getSampleDistance()
public void setSampleDistance(float sampleDist)
sampleDist - the desired distance (default=1)@Deprecated public float getSampleDist()
getSampleDistance()@Deprecated public void setSampleDist(float sampleDist)
setSampleDistance(float sampleDist)sampleDist - the desired distance (default=1)public float getSampleStrength()
public void setSampleStrength(float sampleStrength)
sampleStrength - the desired strength (default=2.2)protected void initFilter(com.jme3.asset.AssetManager manager,
com.jme3.renderer.RenderManager renderManager,
com.jme3.renderer.ViewPort vp,
int w,
int h)
initFilter in class com.jme3.post.Filterpublic void write(com.jme3.export.JmeExporter ex)
throws java.io.IOException
write in interface com.jme3.export.Savablewrite in class com.jme3.post.Filterjava.io.IOExceptionpublic void read(com.jme3.export.JmeImporter im)
throws java.io.IOException
read in interface com.jme3.export.Savableread in class com.jme3.post.Filterjava.io.IOException