C# 클래스 OpenBve.MainLoop

파일 보기 프로젝트 열기: leezer3/OpenBVE 1 사용 예제들

비공개 메소드들

메소드 설명
AddControlRepeat ( int controlIndex ) : void

Adds a control to be repeated

CheckForOpenGlError ( string Location ) : void

Checks whether an OpenGL error has occured this frame

InitializeMotionBlur ( ) : void
OpenTKQuit ( object sender, System.CancelEventArgs e ) : void
ProcessControls ( double TimeElapsed ) : void

The ProcessControls function should be called once a frame, and updates the simulation accordingly

ProcessKeyboard ( ) : void
RemoveControlRepeat ( int controlIndex ) : void

Removes a control repeat

RestoreCameraSettings ( ) : void
SaveCameraSettings ( ) : void
StartLoopEx ( formMain result ) : void
UpdateControlRepeats ( double timeElapsed ) : void

Should be called once a frame, to update the status of all repeating controls

UpdateViewport ( ViewPortChangeMode Mode ) : void
keyDownEvent ( object sender, KeyboardKeyEventArgs e ) : void

Called when a KeyDown event is generated

keyUpEvent ( object sender, KeyboardKeyEventArgs e ) : void

Called when a KeyUp event is generated

mouseDownEvent ( object sender, MouseButtonEventArgs e ) : void
mouseMoveEvent ( object sender, MouseMoveEventArgs e ) : void