RenderSettings#

class curiosity_gym.utils.dataclasses.RenderSettings(render_mode: str | None = None, render_fps: int = 4, window_width: int = 512, window_height: int = 512, window: Surface | None = None, clock: Clock | None = None)#

Stores settings defining the rendering of an environment.

Parameters:
  • render_mode (str | None) – Render mode in which the environment is run. If render mode is human, the environment will be rendered in PyGame. By default None.

  • render_fps (int) – Number of frames per second at which the PyGame rendering operates. By default 4.

  • window_width (int) – Horizontal size of the PyGame window in human render mode. By default 512.

  • window_height (int) – Vertical size of the PyGame window in human render mode. By default 512.

  • window (pygame.surface.Surface | None) – PyGame window object used in human render mode. By default None.

  • clock (pygame.time.Clock | None) – PyGame clock object used in human render mode. By default None.

Methods

Attributes

clock

render_fps

render_mode

window

window_height

window_width