Immerseum SDK: VR Simulator (version: RC-1.0.0)
       [view as Desktop | Tablet | Mobile]
InputButton Class Members
Fields  Properties 

The following tables list the members exposed by InputButton.

Public Constructors
 NameDescription
Public ConstructorInputButton Constructor  
Top
Public Fields
 NameDescription
Public FieldinternalDescriptionA brief description of the Input Button - may be useful for notation and validation.  
Public FieldisNegativeValueDetermines whether the button's boolean firing value is converted to a negative or a positive number if true.  
Public Fieldname

The name given to the Input Button.

Be careful! To properly recognize input from the user's input devices, if buttonType == Mouse or buttonType == Gamepad, this value must correspond to a Name given to a virtual axis in the Unity Input Manager.
 
Top
Public Properties
 NameDescription
Public PropertybuttonTypeDetermines the device type that the Input Button's virtual button maps to.  
Public PropertyisClicked

Indicates whether the Input Button has been clicked.

Be careful! It is very difficult to actually "click" a button (press it down and release it) in the small window of a single frame. Instead, it is usually wiser to use isReleased or isPressed.
 
Public PropertyisGamepadButtonIndicates whether the Input Button is on a gamepad.  
Public PropertyisHeldIndicates whether the Input Button is held.  
Public PropertyisKeyboardButtonIndicates whether the Input Button is on a mouse.  
Public PropertyisMouseButtonIndicates whether the Input Button is on a mouse.  
Public PropertyisOculusButtonIndicates whether the Input Button is on an Oculus input device.  
Public PropertyisPressedIndicates whether the Input Button is pressed.  
Public PropertyisPressedAndHeldIndicates whether the Input Button is pressed and then held.  
Public PropertyisReleasedIndicates whether the Input Button is released.  
Public PropertyisSteamVRButtonIndicates whether the Input Button is on a SteamVR input device.  
Public Propertyvalue  
Top
See Also

Reference

InputButton Class
Immerseum.VRSimulator Namespace

 

 


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

Send Feedback