Previous Up Next

as3dListenerSetActive
Activates the H3d listener given as a parameter.

H3d as3dListenerSetActive (
S3d _session_
H3d _listener_
)
Parameters

_session_
3D Session.
_listener_
Listener to be activated.
Return value

The listener given as a parameter, or nil in case of a failure.
Remark

  • Several listeners can be placed in a 3D scene but only one can be activated at a time.
  • By default, a listener is not active upon its creation. The activation of a listener deactivates any other listener that is currently active.