|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.post.Filter
com.jme3.post.filters.PosterizationFilter
public class PosterizationFilter
A Post Processing filter to change colors appear with sharp edges as if the available amount of colors available was not enough to draw the true image. Possibly useful in cartoon styled games. Use the strength variable to lessen influence of this filter on the total result. Values from 0.2 to 0.7 appear to give nice results. Based on an article from Geeks3D: http://www.geeks3d.com/20091027/shader-library-posterization-post-processing-effect-glsl/
入れ子のクラスの概要 |
---|
クラス com.jme3.post.Filter から継承された入れ子のクラス/インタフェース |
---|
Filter.Pass |
コンストラクタの概要 | |
---|---|
PosterizationFilter()
Creates a posterization Filter |
|
PosterizationFilter(int numColors)
Creates a posterization Filter with the given number of colors |
|
PosterizationFilter(int numColors,
float gamma)
Creates a posterization Filter with the given number of colors and gamma |
メソッドの概要 | |
---|---|
float |
getGamma()
Returns current gamma value |
int |
getNumColors()
Returns number of color levels used |
float |
getStrength()
Returns current strength value, i.e. influence on final image |
void |
setGamma(float gamma)
Sets gamma level used to enhange visual quality |
void |
setNumColors(int numColors)
Sets number of color levels used to draw the screen |
void |
setStrength(float strength)
Sets urrent strength value, i.e. influence on final image |
クラス com.jme3.post.Filter から継承されたメソッド |
---|
getName, isEnabled, read, setEnabled, setName, write |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public PosterizationFilter()
public PosterizationFilter(int numColors)
numColors
- public PosterizationFilter(int numColors, float gamma)
numColors
- gamma
- メソッドの詳細 |
---|
public void setNumColors(int numColors)
public void setGamma(float gamma)
public void setStrength(float strength)
public int getNumColors()
public float getGamma()
public float getStrength()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |