C# Class OVRInputControl.KeyInfo

Holds information about a single key event.
Afficher le fichier Open project: leapmotion/ImageGrid

Méthodes publiques

Свойство Type Description
deviceType DeviceType
downHandler OnKeyDown,
heldHandler OnKeyHeld
joystickAxis OVRGamepadController.Axis
joystickButton OVRGamepadController.Button
keyName string
mouseButton MouseButton,
threshold float
upHandler OnKeyUp
wasDown bool

Méthodes publiques

Méthode Description
KeyInfo ( DeviceType inDeviceType, MouseButton, inMouseButton, OnKeyDown, inDownHandler, OnKeyHeld inHeldHandler, OnKeyUp inUpHandler ) : UnityEngine

Mouse button constructor.

KeyInfo ( DeviceType inDeviceType, OVRGamepadController, inJoystickButton, OnKeyDown, inDownHandler, OnKeyHeld inHeldHandler, OnKeyUp inUpHandler ) : UnityEngine

Joystick button constructor.

KeyInfo ( DeviceType inDeviceType, string inKeyName, OnKeyDown, inDownHandler, OnKeyHeld inHeldHandler, OnKeyUp inUpHandler ) : UnityEngine

Key constructor.

Method Details

KeyInfo() public méthode

Mouse button constructor.
public KeyInfo ( DeviceType inDeviceType, MouseButton, inMouseButton, OnKeyDown, inDownHandler, OnKeyHeld inHeldHandler, OnKeyUp inUpHandler ) : UnityEngine
inDeviceType DeviceType
inMouseButton MouseButton,
inDownHandler OnKeyDown,
inHeldHandler OnKeyHeld
inUpHandler OnKeyUp
Résultat UnityEngine

KeyInfo() public méthode

Joystick button constructor.
public KeyInfo ( DeviceType inDeviceType, OVRGamepadController, inJoystickButton, OnKeyDown, inDownHandler, OnKeyHeld inHeldHandler, OnKeyUp inUpHandler ) : UnityEngine
inDeviceType DeviceType
inJoystickButton OVRGamepadController,
inDownHandler OnKeyDown,
inHeldHandler OnKeyHeld
inUpHandler OnKeyUp
Résultat UnityEngine

KeyInfo() public méthode

Key constructor.
public KeyInfo ( DeviceType inDeviceType, string inKeyName, OnKeyDown, inDownHandler, OnKeyHeld inHeldHandler, OnKeyUp inUpHandler ) : UnityEngine
inDeviceType DeviceType
inKeyName string
inDownHandler OnKeyDown,
inHeldHandler OnKeyHeld
inUpHandler OnKeyUp
Résultat UnityEngine

Property Details

deviceType public_oe property

public DeviceType deviceType
Résultat DeviceType

downHandler public_oe property

public OnKeyDown, downHandler
Résultat OnKeyDown,

heldHandler public_oe property

public OnKeyHeld heldHandler
Résultat OnKeyHeld

joystickAxis public_oe property

public OVRGamepadController.Axis joystickAxis
Résultat OVRGamepadController.Axis

joystickButton public_oe property

public OVRGamepadController.Button joystickButton
Résultat OVRGamepadController.Button

keyName public_oe property

public string keyName
Résultat string

mouseButton public_oe property

public MouseButton, mouseButton
Résultat MouseButton,

threshold public_oe property

public float threshold
Résultat float

upHandler public_oe property

public OnKeyUp upHandler
Résultat OnKeyUp

wasDown public_oe property

public bool wasDown
Résultat bool