Immerseum SDK: VR Simulator (version: RC-1.0.0)
       [view as Desktop | Tablet | Mobile]
isMousePressed(Int32) Method

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

Indicates whether the mouse button provided was pressed.
Syntax
public static bool isMousePressed( 
   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, false if not.
See Also

Reference

InputActionManager Class
InputActionManager Members
Overload List

 

 


Copyright (c) 2016-2017 Immerseum Inc. All rights reserved.

Send Feedback