Urho.Controls Class

Controls sent over the network

See Also: Controls


public class Controls


Namespace: Urho
Assembly: Urho (in Urho.dll)
Assembly Versions:

The members of Urho.Controls are listed below.

See Also: Object

Public Constructors

Initializes the instance with Pitch, Yaw and Buttons state set to zero.

Public Properties

ButtonsUInt32. Button state
PitchSingle. Mouse pitch
YawSingle. Mouse yaw.

Public Methods

IsDown(UInt32) : Boolean
Checks if the specified button is down.
IsPressed(UInt32, ref Controls) : Boolean
Checks if the specified buttons are pressed in this frame, requires the previous frame control state.
Resets to the initial state (buttons, yaw and pitch are set to zero).
Set(UInt32, Boolean)
Set or release buttons.