|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.post.Filter
com.jme3.post.filters.LightScatteringFilter
public class LightScatteringFilter
LightScattering filters creates rays comming from a light sources This is often reffered as god rays.
入れ子のクラスの概要 |
---|
クラス com.jme3.post.Filter から継承された入れ子のクラス/インタフェース |
---|
Filter.Pass |
コンストラクタの概要 | |
---|---|
LightScatteringFilter()
creates a lightScaterring filter |
|
LightScatteringFilter(Vector3f lightPosition)
Creates a lightScatteringFilter |
メソッドの概要 | |
---|---|
float |
getBlurStart()
returns the blur start of the scattering see setBlurStart(float blurStart) |
float |
getBlurWidth()
returns the blur width see setBlurWidth(float blurWidth) |
float |
getLightDensity()
retiurns the light density see setLightDensity(float lightDensity) |
Vector3f |
getLightPosition()
returns the light position |
int |
getNbSamples()
returns the nmber of samples for the radial blur |
void |
read(JmeImporter im)
Override this method if you want to load extra properties when the filter is loaded else only basic properties of the filter will be loaded This method should always begin by super.read(im); |
void |
setBlurStart(float blurStart)
sets the blur start at which distance from the light source the effect starts default is 0.02 |
void |
setBlurWidth(float blurWidth)
sets the blur width default is 0.9 |
void |
setLightDensity(float lightDensity)
sets how much the effect is visible over the rendered scene default is 1.4 |
void |
setLightPosition(Vector3f lightPosition)
sets the light position |
void |
setNbSamples(int nbSamples)
sets the number of samples for the radial blur default is 50 the higher the value the higher the quality, but the slower the performances. |
void |
write(JmeExporter ex)
Override this method if you want to save extra properties when the filter is saved else only basic properties of the filter will be saved This method should always begin by super.write(ex); |
クラス com.jme3.post.Filter から継承されたメソッド |
---|
getName, isEnabled, setEnabled, setName |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public LightScatteringFilter()
public LightScatteringFilter(Vector3f lightPosition)
lightPosition
- メソッドの詳細 |
---|
public float getBlurStart()
setBlurStart(float blurStart)
public void setBlurStart(float blurStart)
blurStart
- public float getBlurWidth()
setBlurWidth(float blurWidth)
public void setBlurWidth(float blurWidth)
blurWidth
- public float getLightDensity()
setLightDensity(float lightDensity)
public void setLightDensity(float lightDensity)
lightDensity
- public Vector3f getLightPosition()
public void setLightPosition(Vector3f lightPosition)
lightPosition
- public int getNbSamples()
public void setNbSamples(int nbSamples)
nbSamples
- public void write(JmeExporter ex) throws java.io.IOException
Filter
の記述:
Savable
内の write
Filter
内の write
java.io.IOException
public void read(JmeImporter im) throws java.io.IOException
Filter
の記述:
Savable
内の read
Filter
内の read
java.io.IOException
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |