public static interface RenderLoop.FrameListener
This interface is called before and after the rendering of a frame.
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
onFrameBegin(Engine.Time time) |
Called before the rendering of a frame.
|
void |
onFrameEnd(Engine.Time time) |
Called after the rendering of a frame.
|
void onFrameBegin(Engine.Time time)
time - Indicates the time elapsed since the previous frame, in milliseconds.void onFrameEnd(Engine.Time time)
time - Indicates the time elapsed since the previous frame, in milliseconds.