setCameraRotation method

Future<void> setCameraRotation(
  1. double roll,
  2. double pitch,
  3. double yaw
)

Implementation

Future<void> setCameraRotation(double roll, double pitch, double yaw) async {
  if (_isDisposedOrNotInitialized) {
    return;
  }

  await _videoPlayerPlatform.setCameraRotation(_textureId, roll, pitch, yaw);
}