blenderproc.python.loader.HavenEnvironmentLoader module

blenderproc.python.loader.HavenEnvironmentLoader.get_random_world_background_hdr_img_path_from_haven(data_path)[source]

Sets the world background to a random .hdr file from the given directory.

Parameters:data_path (str) – A path pointing to a directory containing .hdr files.

:return The path to a random selected path

Return type:str
blenderproc.python.loader.HavenEnvironmentLoader.set_world_background_hdr_img(path_to_hdr_file)[source]

Sets the world background to the given hdr_file.

Parameters:path_to_hdr_file – Path to the .hdr file