Function rrise::sound_engine::set_position
source · [−]pub fn set_position<T: Into<AkSoundPosition>>(
game_object_id: AkGameObjectID,
position: T
) -> Result<(), AkResult>Expand description
Sets the position of a game object.
Warning position’s orientation vectors must be normalized.
Return
- AK_Success when successful
- AK_InvalidParameter if parameters are not valid.