Sound.relativeToListener

Make the sound's position relative to the listener (true) or absolute (false).

Making a sound relative to the listener will ensure that it will always be played the same way regardless the position of the listener. This can be useful for non-spatialized sounds, sounds that are produced by the listener, or sounds attached to it. The default value is false (position is absolute).

  1. bool relativeToListener [@property setter]
    class Sound
    @property
    void
    relativeToListener
    ()
  2. bool relativeToListener [@property getter]

Meta