|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.post.Filter
com.jme3.post.filters.FogFilter
public class FogFilter
A filter to render a fog effect
入れ子のクラスの概要 |
---|
クラス com.jme3.post.Filter から継承された入れ子のクラス/インタフェース |
---|
Filter.Pass |
コンストラクタの概要 | |
---|---|
FogFilter()
Creates a FogFilter |
|
FogFilter(ColorRGBA fogColor,
float fogDensity,
float fogDistance)
Create a fog filter |
メソッドの概要 | |
---|---|
ColorRGBA |
getFogColor()
returns the fog color |
float |
getFogDensity()
returns the fog density |
float |
getFogDistance()
returns the fog distance |
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 |
setFogColor(ColorRGBA fogColor)
Sets the color of the fog |
void |
setFogDensity(float fogDensity)
Sets the density of the fog, a high value gives a thick fog |
void |
setFogDistance(float fogDistance)
the distance of the fog. the higer the value the distant the fog looks |
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 FogFilter()
public FogFilter(ColorRGBA fogColor, float fogDensity, float fogDistance)
fogColor
- the color of the fog (default is white)fogDensity
- the density of the fog (default is 0.7)fogDistance
- the distance of the fog (default is 1000)メソッドの詳細 |
---|
public ColorRGBA getFogColor()
public void setFogColor(ColorRGBA fogColor)
fogColor
- public float getFogDensity()
public void setFogDensity(float fogDensity)
fogColor
- public float getFogDistance()
public void setFogDistance(float fogDistance)
fogDistance
- 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
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |