com.jme3.post.filters
クラス ColorOverlayFilter

java.lang.Object
  上位を拡張 com.jme3.post.Filter
      上位を拡張 com.jme3.post.filters.ColorOverlayFilter
すべての実装されたインタフェース:
Savable

public class ColorOverlayFilter
extends Filter

This filter simply multiply the whole scene by a color


入れ子のクラスの概要
 
クラス com.jme3.post.Filter から継承された入れ子のクラス/インタフェース
Filter.Pass
 
コンストラクタの概要
ColorOverlayFilter()
          creates a colorOverlayFilter with a white coor (transparent)
ColorOverlayFilter(ColorRGBA color)
          creates a colorOverlayFilter with the given color
 
メソッドの概要
 ColorRGBA getColor()
          returns the color
 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 setColor(ColorRGBA color)
          sets the color
 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
 

コンストラクタの詳細

ColorOverlayFilter

public ColorOverlayFilter()
creates a colorOverlayFilter with a white coor (transparent)


ColorOverlayFilter

public ColorOverlayFilter(ColorRGBA color)
creates a colorOverlayFilter with the given color

パラメータ:
color -
メソッドの詳細

getColor

public ColorRGBA getColor()
returns the color

戻り値:
color

setColor

public void setColor(ColorRGBA color)
sets the color

パラメータ:
color -

write

public void write(JmeExporter ex)
           throws java.io.IOException
クラス Filter の記述:
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);

定義:
インタフェース Savable 内の write
オーバーライド:
クラス Filter 内の write
例外:
java.io.IOException

read

public void read(JmeImporter im)
          throws java.io.IOException
クラス Filter の記述:
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);

定義:
インタフェース Savable 内の read
オーバーライド:
クラス Filter 内の read
例外:
java.io.IOException