Function rrise::query_params::get_switch
source · [−]pub fn get_switch<'a, T: Into<AkID<'a>>>(
switch_group: T,
on_game_obj: AkGameObjectID
) -> Result<AkSwitchStateID, AkResult>Expand description
Get the state of a switch group.
Return the active switch state if succeeded, or AkResult::AK_IDNotFound if the game object was not registered