|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
public interface JmeContext
Represents a rendering context within the engine.
入れ子のクラスの概要 | |
---|---|
static class |
JmeContext.Type
The type of context. |
メソッドの概要 | |
---|---|
void |
create(boolean waitFor)
Creates the context and makes it active. |
void |
destroy(boolean waitFor)
Destroys the context completely, making it inactive. |
JoyInput |
getJoyInput()
|
KeyInput |
getKeyInput()
|
MouseInput |
getMouseInput()
|
Renderer |
getRenderer()
|
AppSettings |
getSettings()
|
Timer |
getTimer()
|
TouchInput |
getTouchInput()
|
JmeContext.Type |
getType()
|
boolean |
isCreated()
|
boolean |
isRenderable()
|
void |
restart()
Destroys and then re-creates the context. |
void |
setAutoFlushFrames(boolean enabled)
|
void |
setSettings(AppSettings settings)
|
void |
setSystemListener(SystemListener listener)
Sets the listener that will receive events relating to context creation, update, and destroy. |
void |
setTitle(java.lang.String title)
Sets the title of the display (if available). |
メソッドの詳細 |
---|
JmeContext.Type getType()
void setSettings(AppSettings settings)
settings
- the display settings to use for the created context. If
the context has already been created, then restart()
must be called
for the changes to be applied.void setSystemListener(SystemListener listener)
AppSettings getSettings()
Renderer getRenderer()
MouseInput getMouseInput()
KeyInput getKeyInput()
JoyInput getJoyInput()
TouchInput getTouchInput()
Timer getTimer()
void setTitle(java.lang.String title)
title
- The new title of the display.boolean isCreated()
boolean isRenderable()
Renderer
are called
while this is false
, then the result is undefined.void setAutoFlushFrames(boolean enabled)
enabled
- If enabled, the context will automatically flush
frames to the video card (swap buffers) after an update cycle.void create(boolean waitFor)
waitFor
- If true, will wait until context has initialized.void restart()
void destroy(boolean waitFor)
waitFor
- If true, will wait until the context is destroyed fully.
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |