com.jme3.light
クラス Light

java.lang.Object
  上位を拡張 com.jme3.light.Light
すべての実装されたインタフェース:
Savable, java.lang.Cloneable
直系の既知のサブクラス:
AmbientLight, DirectionalLight, PointLight, SpotLight

public abstract class Light
extends java.lang.Object
implements Savable, java.lang.Cloneable

Abstract class for representing a light source.

All light source types have a color.


入れ子のクラスの概要
static class Light.Type
          Describes the light type.
 
コンストラクタの概要
Light()
           
 
メソッドの概要
 Light clone()
           
 ColorRGBA getColor()
          Returns the color of the light.
 java.lang.String getName()
          Return the light name.
abstract  Light.Type getType()
          Returns the light type
 void read(JmeImporter im)
           
 void setColor(ColorRGBA color)
          Sets the light color.
 void setName(java.lang.String name)
          This method sets the light name.
 void write(JmeExporter ex)
           
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

Light

public Light()
メソッドの詳細

getColor

public ColorRGBA getColor()
Returns the color of the light.

戻り値:
The color of the light.

setName

public void setName(java.lang.String name)
This method sets the light name.

パラメータ:
name - the light name

getName

public java.lang.String getName()
Return the light name.

戻り値:
the light name

setColor

public void setColor(ColorRGBA color)
Sets the light color.

パラメータ:
color - the light color.

clone

public Light clone()
オーバーライド:
クラス java.lang.Object 内の clone

write

public void write(JmeExporter ex)
           throws java.io.IOException
定義:
インタフェース Savable 内の write
例外:
java.io.IOException

read

public void read(JmeImporter im)
          throws java.io.IOException
定義:
インタフェース Savable 内の read
例外:
java.io.IOException

getType

public abstract Light.Type getType()
Returns the light type

戻り値:
the light type
関連項目:
Light.Type