Table of Contents
Reset the value of the game parameter to its default value, as specified in the Wwise project. With this function, you may reset a game parameter to its default value on global scope or on game object scope. Game object scope supersedes global scope. Game parameter values reset on global scope are applied to all game objects that were not overriden with a value on game object scope. To reset a game parameter value on global scope, pass AK_INVALID_GAME_OBJECT as the game object. With this function, you may also reset the value of a game parameter over time. To do so, specify a non-zero value for in_uValueChangeDuration. At each audio frame, the game parameter value will be updated internally according to the interpolation curve. If you call SetRTPCValue() or ResetRTPCValue() with in_uValueChangeDuration = 0 in the middle of an interpolation, the interpolation stops and the new value is set directly. Refer to RTPCs and Game Objects, RTPCs and Busses and RTPCs and Plug-Ins for more details on RTPC scope.