|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.light.Light
com.jme3.light.DirectionalLight
public class DirectionalLight
DirectionalLight
is a light coming from a certain direction in world space.
E.g sun or moon light.
Directional lights have no specific position in the scene, they always come from their direction regardless of where an object is placed.
入れ子のクラスの概要 |
---|
クラス com.jme3.light.Light から継承された入れ子のクラス/インタフェース |
---|
Light.Type |
コンストラクタの概要 | |
---|---|
DirectionalLight()
|
メソッドの概要 | |
---|---|
void |
computeLastDistance(Spatial owner)
Used internally to compute the last distance value. |
Vector3f |
getDirection()
Returns the direction vector of the light. |
Light.Type |
getType()
Returns the light type |
void |
read(JmeImporter im)
|
void |
setDirection(Vector3f dir)
Sets the direction of the light. |
void |
write(JmeExporter ex)
|
クラス com.jme3.light.Light から継承されたメソッド |
---|
clone, getColor, getName, setColor, setName |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public DirectionalLight()
メソッドの詳細 |
---|
public void computeLastDistance(Spatial owner)
Light
の記述:
public Vector3f getDirection()
setDirection(com.jme3.math.Vector3f)
public void setDirection(Vector3f dir)
Represents the vector direction the light is coming from. (1, 0, 0) would represent a directional light coming from the X axis.
dir
- the direction of the light.public Light.Type getType()
Light
の記述:
Light
内の getType
Light.Type
public void write(JmeExporter ex) throws java.io.IOException
Savable
内の write
Light
内の write
java.io.IOException
public void read(JmeImporter im) throws java.io.IOException
Savable
内の read
Light
内の read
java.io.IOException
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |