Function sfml::audio::listener::set_position[][src]

pub fn set_position<P: Into<Vector3f>>(position: P)

Set the position of the listener in the scene

The default listener’s position is (0, 0, 0).

Arguments

  • position - the New position of the listener