com.jme3.scene.control
クラス AbstractControl

java.lang.Object
  上位を拡張 com.jme3.scene.control.AbstractControl
すべての実装されたインタフェース:
Savable, Control
直系の既知のサブクラス:
AnimControl, BillboardControl, CameraControl, LightControl, LodControl, NormalRecalcControl, SkeletonControl, TerrainLodControl, UpdateControl

public abstract class AbstractControl
extends java.lang.Object
implements Control

An abstract implementation of the Control interface.


コンストラクタの概要
AbstractControl()
           
 
メソッドの概要
 Spatial getSpatial()
           
 boolean isEnabled()
           
 void read(JmeImporter im)
           
 void render(RenderManager rm, ViewPort vp)
          Should be called prior to queuing the spatial by the RenderManager.
 void setEnabled(boolean enabled)
           
 void setSpatial(Spatial spatial)
           
 void update(float tpf)
          Updates the control.
 void write(JmeExporter ex)
           
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース com.jme3.scene.control.Control から継承されたメソッド
cloneForSpatial
 

コンストラクタの詳細

AbstractControl

public AbstractControl()
メソッドの詳細

setSpatial

public void setSpatial(Spatial spatial)
定義:
インタフェース Control 内の setSpatial
パラメータ:
spatial - the spatial to be controlled. This should not be called from user code.

getSpatial

public Spatial getSpatial()

setEnabled

public void setEnabled(boolean enabled)
定義:
インタフェース Control 内の setEnabled
パラメータ:
enabled - Enable or disable the control. If disabled, update() should do nothing.

isEnabled

public boolean isEnabled()
定義:
インタフェース Control 内の isEnabled
戻り値:
True if enabled, false otherwise.
関連項目:
Control.setEnabled(boolean)

update

public void update(float tpf)
インタフェース Control の記述:
Updates the control. This should not be called from user code.

定義:
インタフェース Control 内の update
パラメータ:
tpf - Time per frame.

render

public void render(RenderManager rm,
                   ViewPort vp)
インタフェース Control の記述:
Should be called prior to queuing the spatial by the RenderManager. This should not be called from user code.

定義:
インタフェース Control 内の render

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