com.jme3.scene.control
クラス LightControl

java.lang.Object
  上位を拡張 com.jme3.scene.control.AbstractControl
      上位を拡張 com.jme3.scene.control.LightControl
すべての実装されたインタフェース:
Savable, Control

public class LightControl
extends AbstractControl

This Control maintains a reference to a Camera, which will be synched with the position (worldTranslation) of the current spatial.


入れ子のクラスの概要
static class LightControl.ControlDirection
           
 
コンストラクタの概要
LightControl()
          Constructor used for Serialization.
LightControl(Light light)
           
LightControl(Light light, LightControl.ControlDirection controlDir)
           
 
メソッドの概要
 Control cloneForSpatial(Spatial newSpatial)
          Creates a clone of the Control, the given Spatial is the cloned version of the spatial to which this control is attached to.
 LightControl.ControlDirection getControlDir()
           
 Light getLight()
           
 void read(JmeImporter im)
           
 void setControlDir(LightControl.ControlDirection controlDir)
           
 void setLight(Light light)
           
 void write(JmeExporter ex)
           
 
クラス com.jme3.scene.control.AbstractControl から継承されたメソッド
getSpatial, isEnabled, render, setEnabled, setSpatial, update
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

LightControl

public LightControl()
Constructor used for Serialization.


LightControl

public LightControl(Light light)
パラメータ:
light - The light to be synced.

LightControl

public LightControl(Light light,
                    LightControl.ControlDirection controlDir)
パラメータ:
light - The light to be synced.
メソッドの詳細

getLight

public Light getLight()

setLight

public void setLight(Light light)

getControlDir

public LightControl.ControlDirection getControlDir()

setControlDir

public void setControlDir(LightControl.ControlDirection controlDir)

cloneForSpatial

public Control cloneForSpatial(Spatial newSpatial)
インタフェース Control の記述:
Creates a clone of the Control, the given Spatial is the cloned version of the spatial to which this control is attached to.

戻り値:
A clone of this control for the spatial

read

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

write

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