unilab.visualization

Visualization and playback helpers.

unilab.visualization.render_play_mode(env, *, sim_backend, initialize, step, num_steps, output_video=None, render_spacing=None, render_offset_mode=None, headless=None, record_video=None, frame_state_getter=None, camera_kwargs=None, extra_data_getter=None)[source]

Run playback through the env/backend playback contract.

sim_backend is retained for older call sites; backend selection now belongs to env.run_playback() and concrete backend implementations.

Parameters:
Return type:

str | None

Modules

interactive_playback

Shared core for interactive policy playback entrypoints.

playback

Playback rendering compatibility entrypoint.

render_many

MuJoCo-only batched rendering helpers.

viser_scene

MuJoCo-to-viser scene adapter for interactive web-based 3D visualization.