Class VirtualButton.Pointer
Mouse virtual button.
public class VirtualButton.Pointer : VirtualButton, IVirtualButton
  - Inheritance
 - 
      objectVirtualButton.Pointer
 
- Implements
 
- Inherited Members
 
Constructors
Pointer(string, int, int, bool)
protected Pointer(string name, int id, int pointerId, bool isPositiveAndNegative)
  Parameters
Fields
DeltaX
The X component of the Pointer Delta.
public static readonly VirtualButton.Pointer DeltaX
  Field Value
DeltaY
The Y component of the Pointer Delta.
public static readonly VirtualButton.Pointer DeltaY
  Field Value
PointerId
The pad index.
public readonly int PointerId
  Field Value
PositionX
The X component of the Pointer Position.
public static readonly VirtualButton.Pointer PositionX
  Field Value
PositionY
The Y component of the Pointer Position.
public static readonly VirtualButton.Pointer PositionY
  Field Value
State
The current state of pointers.
public static readonly VirtualButton.Pointer State
  Field Value
Methods
BuildButtonName()
protected override string BuildButtonName()
  Returns
GetValue(InputManager)
Gets the value associated with this virtual button from an input manager.
public override float GetValue(InputManager manager)
  Parameters
managerInputManagerThe manager.
Returns
- float
 System.Single.
IsDown(InputManager)
Indicate if the button is currently down
public override bool IsDown(InputManager manager)
  Parameters
managerInputManagerThe input manager
Returns
IsPressed(InputManager)
Indicate if the button has been pressed since the last frame
public override bool IsPressed(InputManager manager)
  Parameters
managerInputManagerThe input manager
Returns
IsReleased(InputManager)
Indicate if the button has been released since the last frame
public override bool IsReleased(InputManager manager)
  Parameters
managerInputManagerThe input manager
Returns
WithId(int)
Return a pointer button for the given point Id.
public VirtualButton.Pointer WithId(int pointerId)
  Parameters
pointerIdintthe Id of the pointer
Returns
- VirtualButton.Pointer
 An pointer button for the given pointer Id.