Table des matières

virtual bool AK::SoundFrame::ISoundFrame::SetCurrentSwitch ( LPCWSTR  in_szSwitchGroupName,
LPCWSTR  in_szCurrentSwitchName,
AkGameObjectID  in_gameObjectID = IGameObject::s_WwiseGameObject  
) [pure virtual]

Set the current switch for a given switch group (using strings).

This function is thread-safe.

Returns:
True if the operation was successful, False otherwise
See also:
Parameters:
in_szSwitchGroupName  Switch group name
in_szCurrentSwitchName  Switch name
in_gameObjectID  Game object on which the switch will be set (optional)