|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.light.Light
public abstract class Light
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 |
コンストラクタの詳細 |
---|
public Light()
メソッドの詳細 |
---|
public ColorRGBA getColor()
public void setName(java.lang.String name)
name
- the light namepublic java.lang.String getName()
public void setColor(ColorRGBA color)
color
- the light color.public Light clone()
java.lang.Object
内の clone
public void write(JmeExporter ex) throws java.io.IOException
Savable
内の write
java.io.IOException
public void read(JmeImporter im) throws java.io.IOException
Savable
内の read
java.io.IOException
public abstract Light.Type getType()
Light.Type
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |