C# Class Axiom.Demos.Browser.Xna.XnaInput

Inheritance: Axiom.Input.InputReader
Mostra file Open project: WolfgangSt/axiom

Protected Properties

Property Type Description
absoluteMousePosition Microsoft.Xna.Framework.Vector3
relativeMousePosition Microsoft.Xna.Framework.Vector3

Public Methods

Method Description
Capture ( ) : void
CaptureKeyboardState ( ) : void
CaptureMouseState ( ) : void
CheckKeyPressed ( Axiom key, bool &isPressed ) : void
CheckMouseButtonPressed ( Axiom button, bool &isPressed ) : void
Dispose ( ) : void
Initialize ( Axiom parent, bool useKeyboard, bool useMouse, bool useGamepad, bool ownMouse ) : void
IsKeyPressed ( Axiom key ) : bool
IsMousePressed ( Axiom button ) : bool

Method Details

Capture() public method

public Capture ( ) : void
return void

CaptureKeyboardState() public abstract method

public abstract CaptureKeyboardState ( ) : void
return void

CaptureMouseState() public abstract method

public abstract CaptureMouseState ( ) : void
return void

CheckKeyPressed() public abstract method

public abstract CheckKeyPressed ( Axiom key, bool &isPressed ) : void
key Axiom
isPressed bool
return void

CheckMouseButtonPressed() public abstract method

public abstract CheckMouseButtonPressed ( Axiom button, bool &isPressed ) : void
button Axiom
isPressed bool
return void

Dispose() public method

public Dispose ( ) : void
return void

Initialize() public method

public Initialize ( Axiom parent, bool useKeyboard, bool useMouse, bool useGamepad, bool ownMouse ) : void
parent Axiom
useKeyboard bool
useMouse bool
useGamepad bool
ownMouse bool
return void

IsKeyPressed() public method

public IsKeyPressed ( Axiom key ) : bool
key Axiom
return bool

IsMousePressed() public method

public IsMousePressed ( Axiom button ) : bool
button Axiom
return bool

Property Details

absoluteMousePosition protected_oe property

protected Vector3,Microsoft.Xna.Framework absoluteMousePosition
return Microsoft.Xna.Framework.Vector3

relativeMousePosition protected_oe property

protected Vector3,Microsoft.Xna.Framework relativeMousePosition
return Microsoft.Xna.Framework.Vector3