Other Documentation

Wwise SDK 2022.1.9
AK::CAkValueRamp Class Reference

#include <AkValueRamp.h>

Public Member Functions

  CAkValueRamp ()
  Constructor method. More...
  ~CAkValueRamp ()
  Destructor method. More...
void  RampSetup (AkReal32 fStepIncrement, AkReal32 fInitVal)
  Initial parameter interpolation ramp setup. More...
AkForceInline void  SetTarget (AkReal32 fTarget)
  Set the ramp's target value. More...
AkForceInline AkReal32  Tick ()
AkReal32  GetCurrent ()
void  SetCurrent (AkReal32 in_fCurrent)
  Set the current interpolated value. More...
AkUInt32  GetRampCount ()
void  SetRampCount (AkUInt32 in_uRampCount)
  Set the current interpolation frame count. More...
void  StopRamp ()
  The ramp is no longer necessary; set to target. More...

Detailed Description

Platform-independent parameter interpolation service for software plug-ins.

Note: Algorithm performs linear interpolation.
See also

Definition at line 48 of file AkValueRamp.h.

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise