INNER CODE UNIT · Python

end_process_material

skarndev/umodel_tools · umodel_tools/game_profiles/__init__.py:85

    def end_process_material(mat: bpy.types.Material) -> None:
        """Called at the end of the material processing, can be used to cleanup state (if any is kept).

        :param: mat: Material that was processed.
        """


#: List of all game profiles supported by the addon (used for Blender UI EnumProperties).
SUPPORTED_GAMES: list[tuple[str, str, str, int]] = []


#: List of all implemented game handlers (populated automatically).
GAME_HANDLERS: dict[str, GameHandler] = {}
for element in os.listdir(profile_path := os.path.dirname(__file__)):
    if (not os.path.isfile(os.path.join(profile_path, element)) or not element.endswith('.py')
       or element == "__init__.py"):
        continue

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…