Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
fliXNA_xbox
FlxGamepad
vibrate
fliXNA_xbox.FlxGamepad.vibrate C# (CSharp) Method
FlxGamepad Class Documentation
Show file
Open project: jlorek/flxSharp
vibrate()
public
method
Simple Controller vibration
public
vibrate
(
float
Duration
= 0.5f ) :
void
Duration
float
The length in seconds the vibration should last
return
void
public void vibrate(float Duration = 0.5f) { vibrate(Duration, 0.15f, 0.15f); }
Same methods
FlxGamepad::
vibrate
(
float
Duration
= 0.5f,
float
Intensity
= 0.15f ) :
void
FlxGamepad::
vibrate
(
float
Duration
= 0.5f,
float
IntensityLeftMotor
= 0.15f,
float
IntensityRightMotor
= 0.15f,
bool
ShakeScreen
= false ) :
void
FlxGamepad
FlxGamepad
justPressed
justReleased
leftAnalogPushedDown
leftAnalogPushedLeft
leftAnalogPushedRight
leftAnalogPushedUp
leftAnalogStill
pressed
rightAnalogPushedDown
rightAnalogPushedLeft
rightAnalogPushedRight
rightAnalogPushedUp
rightAnalogStill
update
vibrate