listenerOrientation property

  1. @override
ListenerOrientation get listenerOrientation
override

Get the listener orientation.

Implementation

@override
ListenerOrientation get listenerOrientation {
  final orientation = context.orientation.value;
  return ListenerOrientation(
    orientation.x1,
    orientation.y1,
    orientation.z1,
    orientation.x2,
    orientation.y2,
    orientation.z2,
  );
}
  1. @override
set listenerOrientation (ListenerOrientation value)
override

Set the listener orientation.

Implementation

@override
set listenerOrientation(final ListenerOrientation value) =>
    context.orientation.value = Double6(
      value.x1,
      value.y1,
      value.z1,
      value.x2,
      value.y2,
      value.z2,
    );