(
      self,
      min_distance,
      distance_factor,
      smoothing_update_speed,
      azimuth=90,
      elevation=-45,
      width=1920,
      height=1080,
  )
Construct a new MultiplayerTrackingcamera.

    The target lookat point is the centroid of all tracked entities.
    Target camera distance is set to min_distance + distance_factor * d_max,
    where d_max is the maximum distance of any entity to the lookat point.

    Args:
      min_distance: minimum camera distance.
      distance_factor: camera distance multiplier (see above).
      smoothing_update_speed: exponential filter parameter to smooth camera
        movement. 1 means no filter; smaller values mean less change per step.
      azimuth: constant azimuth to use for camera.
      elevation: constant elevation to use for camera.
      width: width to use for rendered video.
      height: height to use for rendered video.
Construct a new MultiplayerTrackingcamera.
Construct a new MultiplayerTrackingcamera .
def __init__(
      self,
      min_distance,
      distance_factor,
      smoothing_update_speed,
      azimuth=90,
      elevation=-45,
      width=1920,
      height=1080,
  ):
    """Construct a new MultiplayerTrackingcamera.

    The target lookat point is the centroid of all tracked entities.
    Target camera distance is set to min_distance + distance_factor * d_max,
    where d_max is the maximum distance of any entity to the lookat point.

    Args:
      min_distance: minimum camera distance.
      distance_factor: camera distance multiplier (see above).
      smoothing_update_speed: exponential filter parameter to smooth camera
        movement. 1 means no filter; smaller values mean less change per step.
      azimuth: constant azimuth to use for camera.
      elevation: constant elevation to use for camera.
      width: width to use for rendered video.
      height: height to use for rendered video.
    """
    self._min_distance = min_distance
    self._distance_factor = distance_factor
    if smoothing_update_speed < 0 or smoothing_update_speed > 1:
      raise ValueError("Filter speed must be in range [0, 1].")
    self._smoothing_update_speed = smoothing_update_speed
    self._azimuth = azimuth
    self._elevation = elevation
    self._width = width
    self._height = height
    self._camera = None
def __init__ ( self , min_distance , distance_factor , smoothing_update_speed , azimuth = 90 , elevation = - 45 , width = 1920 , height = 1080 , ) : self . _min_distance = min_distance self . _distance_factor = distance_factor if smoothing_update_speed < 0 or smoothing_update_speed > 1 : raise ValueError ( "Filter speed must be in range [0, 1]." ) self . _smoothing_update_speed = smoothing_update_speed self . _azimuth = azimuth self . _elevation = elevation self . _width = width self . _height = height self . _camera = None