Listener¶
Inherits: Spatial < Node < Object
Anula los sonidos de localización que se escuchan.
Descripción¶
Once added to the scene tree and enabled using make_current, this node will override the location sounds are heard from. This can be used to listen from a location different from the Camera.
Métodos¶
void |
clear_current ( ) |
get_listener_transform ( ) const |
|
is_current ( ) const |
|
void |
make_current ( ) |
Descripciones de Métodos¶
void clear_current ( )
Desactiva la escucha para usar la escucha de la cámara actual en su lugar.
Transform get_listener_transform ( ) const
Devuelve al listener la Transform de la global ortonormalizada.
bool is_current ( ) const
Returns true
if the listener was made current using make_current, false
otherwise.
Note: There may be more than one Listener marked as "current" in the scene tree, but only the one that was made current last will be used.
void make_current ( )
Habilita el listener. Esto anulará el listener de la cámara actual.