XnaMouse ClassDelta Engine Documentation
Native implementation of the Mouse interface using Xna
Inheritance Hierarchy

System Object
  DeltaEngine.Entities UpdateBehavior
    DeltaEngine.Input InputDevice
      DeltaEngine.Input Mouse
        DeltaEngine.Input.Xna XnaMouse

Namespace: DeltaEngine.Input.Xna
Assembly: DeltaEngine.Input.Xna (in DeltaEngine.Input.Xna.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public sealed class XnaMouse : Mouse

The XnaMouse type exposes the following members.

Constructors

  NameDescription
Public methodXnaMouse
Initializes a new instance of the XnaMouse class
Top
Methods

  NameDescription
Public methodDispose
Releases all resources used by the XnaMouse
(Overrides InputDevice Dispose .)
Public methodGetButtonState (Inherited from Mouse.)
Public methodSetNativePosition (Overrides Mouse SetNativePosition(Vector2D).)
Public methodUpdate (Overrides Mouse Update(IEnumerable Entity ).)
Top
Properties

  NameDescription
Public propertyIsAvailable (Overrides InputDevice IsAvailable.)
Public propertyLeftButton (Inherited from Mouse.)
Public propertyMiddleButton (Inherited from Mouse.)
Public propertyPosition (Inherited from Mouse.)
Public propertyRightButton (Inherited from Mouse.)
Public propertyScrollWheelValue
Total accumulated mouse scroll wheel value. Compare with last frame to see the change (see MouseZoomTrigger). Will not use multipliers like 120 to report one mouse wheel up change. One mouse wheel up change results in a value change of +1, down is -1. View code on GitHub
(Inherited from Mouse.)
Public propertyX1Button (Inherited from Mouse.)
Public propertyX2Button (Inherited from Mouse.)
Top
See Also