|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.post.Filter
com.jme3.post.filters.FadeFilter
public class FadeFilter
Fade Filter allows you to make an animated fade effect on a scene.
入れ子のクラスの概要 |
---|
クラス com.jme3.post.Filter から継承された入れ子のクラス/インタフェース |
---|
Filter.Pass |
コンストラクタの概要 | |
---|---|
FadeFilter()
Creates a FadeFilter |
|
FadeFilter(float duration)
Creates a FadeFilter with the given duration |
メソッドの概要 | |
---|---|
void |
fadeIn()
fades the scene in (black to scene) |
void |
fadeOut()
fades the scene out (scene to black) |
float |
getDuration()
returns the duration of the effect |
float |
getValue()
return the current value of the fading can be used to chack if fade is complete (eg value=1) |
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 |
setDuration(float duration)
Sets the duration of the filter default is 1 second |
void |
setValue(float value)
sets the fade value can be used to force complete black or compete scene |
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 FadeFilter()
public FadeFilter(float duration)
duration
- メソッドの詳細 |
---|
public float getDuration()
public void setDuration(float duration)
duration
- public void fadeIn()
public void fadeOut()
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
public float getValue()
public void setValue(float value)
value
-
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |