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

The following tables list the members exposed by InputAxis.

Public Constructors
 NameDescription
Public ConstructorInputAxis Constructor  
Top
Public Fields
 NameDescription
Public FieldhasMaximumValueDetermines whether the Input Axis has a maximum value.  
Public FieldhasMinimumValueDetermines whether the Input Axis has a minimum value.  
Public FieldinputTypeDetermines the device type that the Input Axis' virtual axis maps to.  
Public FieldmaximumValueThe maximum value that the virtual axis can return.  
Public FieldminimumValueThe maximum value that the virtual axis can return.  
Public Fieldname

The name given to the Input Axis.

Be careful! To properly recognize input from the user's input devices, this value must correspond to a Name given to a virtual axis in the Unity Input Manager.
 
Public FieldreturnXDetermines which component from a 2-dimensional value to return.  
Public FieldvalueAtRestList

A List of floating point values, where each floating point value represents an axis value where the virtual axis can be considered to be at rest.

Please Note Please Note
The way some device drivers operate on certain operating systems (notably gamepads), a virtual axis may actually have multiple at rest values. That's why the Immerseum Input Axes support a list of possible at rest values.
 
Top
Public Properties
 NameDescription
Public Propertydimensions

Indicates the number of dimensions that the axis returns a value in.

 
Public PropertyisAtMaxIndicates whether the Input Axis is currently at its maximum value.  
Public PropertyisAtMinIndicates whether the Input Axis is currently at its minimum value.  
Public PropertyisAtRestIndicates whether the Input Axis is currently at rest.  
Public PropertyrawValueThe raw value returned from the Input Axis.  
Public PropertyrawValue2DThe raw value returned from the Input Axis, expressed as a Vector2.  
Public PropertyvalueThe axis value returned from the Input Axis.  
Public Propertyvalue2DThe axis value returned from the Input Axis, expressed as a Vector2.  
Top
See Also

Reference

InputAxis Class
Immerseum.VRSimulator Namespace

 

 


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

Send Feedback