Vizard 8 » Command Index » Vizard modules » viz » <viz>.setListenerSound3D
8.0

<viz>.setListenerSound3D

Specify linkable object to use as sound 3d listener

<viz>.setListenerSound3D(  
listener  
flag = 0  
)  
listener
A linkable object to use as the 3D sound listener or None to use the default main viewpoint listener.
flag = 0
The flag to use when retrieving the position/orientation from the linkable

Remarks

This command specifies a linkable object that will be used as the listener position for 3D sounds. The position and orientation of the linkable will be used when updating 3D sounds. If None is specified as the linkable, then the default listener will be used, which is the viewpoint of the main window.

Return Value

None

See also

<node3d>.playsound
<viz>.setDebugSound3D