Метод | Описание | |
---|---|---|
OnAttach ( ) : void | ||
OnDetach ( ) : void | ||
OnGetCameraTransform ( Vec3 &position, Vec3 &forward, Vec3 &up, Degree &cameraFov ) : void | ||
OnJoystickEvent ( JoystickInputEvent e ) : bool | ||
OnKeyDown ( KeyEvent e ) : bool | ||
OnKeyPress ( KeyPressEvent e ) : bool | ||
OnKeyUp ( KeyEvent e ) : bool | ||
OnMouseDoubleClick ( EMouseButtons button ) : bool | ||
OnMouseDown ( EMouseButtons button ) : bool | ||
OnMouseMove ( ) : bool | ||
OnMouseUp ( EMouseButtons button ) : bool | ||
OnMouseWheel ( int delta ) : bool | ||
OnRender ( ) : void | ||
OnRenderUI ( GuiRenderer renderer ) : void | ||
OnTick ( float delta ) : void |
Метод | Описание | |
---|---|---|
ConsoleCommand_MovePlayerUnitToCamera ( string arguments ) : void | ||
CurrentUnitAllowPlayerControlUse ( ) : bool | ||
DrawPlayerInformation ( GuiRenderer renderer ) : void |
To draw some information of a player
|
|
DrawPlayersStatistics ( GuiRenderer renderer ) : void | ||
DrawTankGunTarget ( GuiRenderer renderer ) : void | ||
DrawTarget ( GuiRenderer renderer ) : void |
Draw a target at center of screen
|
|
GameControlsManager_GameControlsEvent ( GameControlsEventData e ) : void | ||
GetActiveObserveCameraArea ( ) : ProjectEntities.ObserveCameraArea |
Finds observe area in which there is a player.
|
|
GetActiveObserveCameraAreaCameraOrientation ( Vec3 &position, Vec3 &forward, Vec3 &up, Degree &cameraFov ) : bool |
Receives orientation of the camera in the observe area of in which there is a player.
|
|
GetNearestPointToMapCurve ( Vec3 destPos, MapCurve mapCurve ) : Vec3 |
Finds the nearest point to a map curve.
|
|
GetPlayerUnit ( ) : Unit | ||
GetRealCameraType ( ) : CameraType | ||
IsCutSceneEnabled ( ) : bool | ||
IsPlayerUnitVehicle ( ) : bool | ||
SwitchUseEnd ( ) : void | ||
SwitchUseStart ( ) : bool | ||
UpdateCurrentPlayerUseObjects ( ) : void |
Updates objects on which the player can to operate. Such as which the player can supervise switches, ingameGUI or control units.
|
|
UpdateHUD ( ) : void |
Updates HUD screen
|
|
UpdateHUDControlIcon ( EControl control, string iconName ) : void | ||
UpdatePlayerContusionMotionBlur ( ) : void |
protected OnGetCameraTransform ( Vec3 &position, Vec3 &forward, Vec3 &up, Degree &cameraFov ) : void | ||
position | Vec3 | |
forward | Vec3 | |
up | Vec3 | |
cameraFov | Degree | |
Результат | void |
protected OnJoystickEvent ( JoystickInputEvent e ) : bool | ||
e | JoystickInputEvent | |
Результат | bool |
protected OnKeyPress ( KeyPressEvent e ) : bool | ||
e | KeyPressEvent | |
Результат | bool |
protected OnMouseDoubleClick ( EMouseButtons button ) : bool | ||
button | EMouseButtons | |
Результат | bool |
protected OnMouseDown ( EMouseButtons button ) : bool | ||
button | EMouseButtons | |
Результат | bool |
protected OnMouseUp ( EMouseButtons button ) : bool | ||
button | EMouseButtons | |
Результат | bool |
protected OnMouseWheel ( int delta ) : bool | ||
delta | int | |
Результат | bool |
protected OnRenderUI ( GuiRenderer renderer ) : void | ||
renderer | GuiRenderer | |
Результат | void |