docs: def set_fog_density(self, density):
          """Queue up a change fog density command. It will be applied when `tick` or `step` is called next.
          By the next tick, the exponential height fog in the world will have the new density. If there is no fog in the
          world, it will be automatically created with the given density.
  
          Args:
              density (float): The new density value, between 0 and 1. The command will not be sent if the given
          density is invalid.
          """
          if density < 0 or density > 1:
              raise HolodeckException("Fog density should be between 0 and 1")
  
          self._should_write_to_command_buffer = True
          command_to_send = ChangeFogDensityCommand(density)
          self._commands.add_command(command_to_send)