Godot: Is there a way to set custom import parameters for importing assets by code (C#)?

34 Views Asked by At

During getting improvement to my custom import resource plugin I faced with need of set custom (re)importing params such as: compress mode (vram compressed or etc), channel pack (optimised or RGBFriendly). But I didn't find any clues in source classes or the documentation of Godot. How can I manually import file with setting import settings precisely?

I've tried looking through various of available import-named classes (EditorImportPlugin, EditorInterface, ResourceImporterTexture), but none of them could help me in any way.

1

There are 1 best solutions below

0
lovesuper On BEST ANSWER

I found a workaround solution. Godot IDE has according settings tab for picking import defaults. enter image description here