A Panel that automatically provides an OmegaEngine.Engine instance for rendering on it, an optional timer-driver render loop, input handling, etc.
More...
|
override void | OnPaint (PaintEventArgs e) |
|
override void | OnResize (EventArgs eventargs) |
|
override void | Dispose (bool disposing) |
|
A Panel that automatically provides an OmegaEngine.Engine instance for rendering on it, an optional timer-driver render loop, input handling, etc.
◆ AddInputReceiver()
void OmegaEngine.RenderPanel.AddInputReceiver |
( |
IInputReceiver |
receiver | ) |
|
|
inline |
Calls InputProvider.AddReceiver for all default InputProviders.
- Parameters
-
receiver | The object to receive the commands. |
◆ RemoveInputReceiver()
void OmegaEngine.RenderPanel.RemoveInputReceiver |
( |
IInputReceiver |
receiver | ) |
|
|
inline |
Calls InputProvider.RemoveReceiver for all default InputProviders.
- Parameters
-
receiver | The object to no longer receive the commands. |
◆ Setup()
Engine OmegaEngine.RenderPanel.Setup |
( |
| ) |
|
|
inline |
Initializes the OmegaEngine.Engine for rendering on this Panel.
- Returns
- The newly initialized Engine.
- Exceptions
-
NotSupportedException | The graphics card does not meet the engine's minimum requirements. |
Direct3D9NotFoundException | Throw if required DirectX version is missing. |
Direct3DX9NotFoundException | Throw if required DirectX version is missing. |
Direct3D9Exception | internal errors occurred while intiliazing the graphics card. |
SlimDX.DirectSound.DirectSoundException | internal errors occurred while intiliazing the sound card. |
Calling this multiple times will always return the same OmegaEngine.Engine instance.
◆ AutoRender
bool OmegaEngine.RenderPanel.AutoRender |
|
getset |
◆ AutoRenderInterval
int OmegaEngine.RenderPanel.AutoRenderInterval |
|
getset |
◆ Engine
Engine OmegaEngine.RenderPanel.Engine |
|
get |
◆ KeyboardInputProvider
◆ MouseInputProvider
◆ TouchInputProvider
The documentation for this class was generated from the following file:
- OmegaEngine/RenderPanel.cs