func (s Sound) SetPosition(x, y, z float32) { C.sfSound_setPosition(s.internal, C.sfVector3f{ C.float(x), C.float(y), C.float(z), }) }
// \brief Set the 3D position of a sound in the audio scene // Only sounds with one channel (mono sounds) can be // spatialized. // The default position of a sound is (0, 0, 0). // \param sound Sound object // \param position Position of the sound in the scene // void sfSound_setPosition(sfSound* sound, sfVector3f position); func (self Sound) SetPosition(v Vector3f) { C.sfSound_setPosition(self.Cref, v.Cref) }