com.jme3.scene.control
クラス UpdateControl

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

public class UpdateControl
extends AbstractControl

Allows for enqueueing tasks onto the update loop / rendering thread. Usage: mySpatial.addControl(new UpdateControl()); // add it once mySpatial.getControl(UpdateControl.class).enqueue(new Callable() { public Object call() throws Exception { // do stuff here return null; } });


コンストラクタの概要
UpdateControl()
           
 
メソッドの概要
 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.
<V> java.util.concurrent.Future<V>
enqueue(java.util.concurrent.Callable<V> callable)
          Enqueues a task/callable object to execute in the jME3 rendering thread.
 
クラス com.jme3.scene.control.AbstractControl から継承されたメソッド
getSpatial, isEnabled, read, render, setEnabled, setSpatial, update, write
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

UpdateControl

public UpdateControl()
メソッドの詳細

enqueue

public <V> java.util.concurrent.Future<V> enqueue(java.util.concurrent.Callable<V> callable)
Enqueues a task/callable object to execute in the jME3 rendering thread.


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