INNER CODE UNIT · Python

exporter_bridge

untoldengine/UntoldEngine · scripts/untold-blender-addon/untold_exporter/__init__.py:14

def exporter_bridge():
    return importlib.reload(bridge)


def _tier_radius_overrides_from_settings(settings) -> list[str]:
    if not getattr(settings, "use_custom_tier_radii", False):
        return []

    overrides: list[str] = []
    tier_fields = [
        ("ExteriorShell", "exterior_shell"),
        ("StructuralInterior", "structural_interior"),
        ("RoomContents", "room_contents"),
        ("FineProps", "fine_props"),
    ]
    for tier, prefix in tier_fields:
        streaming = float(getattr(settings, f"{prefix}_streaming_radius"))
        unload = float(getattr(settings, f"{prefix}_unload_radius"))

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…