MCPcopy Create free account
hub / github.com/BeingBeyond/BeTTER / _resolve_background

Function _resolve_background

tools/render/render_episode.py:831–838  ·  view source on GitHub ↗
(args: argparse.Namespace, background_cls: Any)

Source from the content-addressed store, hash-verified

829
830
831def _resolve_background(args: argparse.Namespace, background_cls: Any) -> Any:
832 return background_cls(
833 scene_id=_resolve_background_scene_id(args),
834 material_id=args.background_material_id,
835 layout_id=args.background_layout_id,
836 registry_path=str(args.background_registry.expanduser().resolve()),
837 prim_path=str(args.background_prim_path),
838 )
839
840
841def _resolve_background_scene_id(args: argparse.Namespace) -> str:

Callers 2

mainFunction · 0.85
_resolve_static_episodeFunction · 0.85

Calls 1

Tested by

no test coverage detected