Class: SDL2::Haptic::Ramp
- Defined in:
- lib/sdl2/haptic.rb
Overview
brief A structure containing a template for a Ramp effect.
This struct is exclusively for the ::SDL_HAPTIC_RAMP effect.
The ramp effect starts at start strength and ends at end strength.
It augments in linear fashion. If you use attack and fade with a ramp
the effects get added to the ramp effect making the effect become
quadratic instead of linear.
\sa SDL_HAPTIC_RAMP
\sa SDL_HapticEffect
Method Summary
Methods inherited from Struct
#==, cast, #initialize, release
Methods included from StructHelper
#member_readers, #member_writers
Constructor Details
This class inherits a constructor from SDL2::Struct