|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Control
An interface for scene-graph controls.
Control
s are used to specify certain update and render logic
for a Spatial
.
Method Summary | |
---|---|
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. |
void |
render(RenderManager rm,
ViewPort vp)
Should be called prior to queuing the spatial by the RenderManager. |
void |
setSpatial(Spatial spatial)
|
void |
update(float tpf)
Updates the control. |
Methods inherited from interface com.jme3.export.Savable |
---|
read, write |
Method Detail |
---|
Control cloneForSpatial(Spatial spatial)
spatial
-
void setSpatial(Spatial spatial)
spatial
- the spatial to be controlled. This should not be called
from user code.void update(float tpf)
tpf
- Time per frame.void render(RenderManager rm, ViewPort vp)
rm
- vp
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |