Urho.Controls Class

Controls sent over the network

See Also: Controls

Syntax

public class Controls

Requirements

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

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

Finalize()
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.
Reset()
Resets to the initial state (buttons, yaw and pitch are set to zero).
Set(UInt32, Boolean)
Set or release buttons.