listenerPosition property

  1. @override
ListenerPosition get listenerPosition
override

Get the listener position.

Implementation

@override
ListenerPosition get listenerPosition {
  final position = context.position.value;
  return ListenerPosition(position.x, position.y, position.z);
}
  1. @override
set listenerPosition (ListenerPosition value)
override

Set the listener position.

Implementation

@override
set listenerPosition(final ListenerPosition value) =>
    context.position.value = Double3(value.x, value.y, value.z);