Метод | Описание | |
---|---|---|
OpenBVEGame ( int width, int height, OpenTK.Graphics.GraphicsMode currentGraphicsMode, GameWindowFlags @default ) : System |
Метод | Описание | |
---|---|---|
OnClosing ( CancelEventArgs e ) : void | ||
OnLoad ( |
||
OnRenderFrame ( FrameEventArgs e ) : void | ||
OnResize ( |
||
OnUpdateFrame ( FrameEventArgs e ) : void |
Метод | Описание | |
---|---|---|
LoadingScreenLoop ( ) : void | ||
RunInRenderThread ( ThreadStart job ) : void |
This method is used during loading to run commands requiring an OpenGL context in the main render loop
|
|
SetupSimulation ( ) : void |
This method is called once the route and train data have been preprocessed, in order to physically setup the simulation
|
protected OnClosing ( CancelEventArgs e ) : void | ||
e | CancelEventArgs | |
Результат | void |
protected OnRenderFrame ( FrameEventArgs e ) : void | ||
e | FrameEventArgs | |
Результат | void |
protected OnResize ( |
||
e | ||
Результат | void |
protected OnUpdateFrame ( FrameEventArgs e ) : void | ||
e | FrameEventArgs | |
Результат | void |
public OpenBVEGame ( int width, int height, OpenTK.Graphics.GraphicsMode currentGraphicsMode, GameWindowFlags @default ) : System | ||
width | int | |
height | int | |
currentGraphicsMode | OpenTK.Graphics.GraphicsMode | |
@default | GameWindowFlags | |
Результат | System |