|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
public interface Control
An interface for scene-graph controls.
Controls are used to specify certain update and render logic
for a Spatial.
| メソッドの概要 | |
|---|---|
Control |
cloneForSpatial(Spatial spatial)
Creates a clone of the Control, the given Spatial is the cloned version of the spatial to which this control is attached to. |
boolean |
isEnabled()
|
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. |
| インタフェース com.jme3.export.Savable から継承されたメソッド |
|---|
read, write |
| メソッドの詳細 |
|---|
Control cloneForSpatial(Spatial spatial)
spatial -
void setSpatial(Spatial spatial)
spatial - the spatial to be controlled. This should not be called
from user code.void setEnabled(boolean enabled)
enabled - Enable or disable the control. If disabled, update()
should do nothing.boolean isEnabled()
setEnabled(boolean)void update(float tpf)
tpf - Time per frame.
void render(RenderManager rm,
ViewPort vp)
rm - vp -
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||