Immerseum SDK: VR Simulator (version: BETA-0.9)
       [view as Desktop | Tablet | Mobile]
isMousePressedAndHeld(Int32) Method

An integer indicating the Mouse Button to check for. Accepts:

Indicates whether the mouse button provided was pressed and then held throughout the frame.
Syntax
public static bool isMousePressedAndHeld( 
   int button
)

Parameters

button

An integer indicating the Mouse Button to check for. Accepts:

  • 0 for the left-hand mouse button.
  • 1 for the right-hand mouse button.
  • 2 for the center mouse button (not all mice have this).

Return Value

true if the button was pressed and held, false if not.
See Also

Reference

InputActionManager Class
InputActionManager Members
Overload List

 

 


Copyright (c) 2015 Immerseum Inc. All rights reserved.

Send Feedback