This commit is contained in:
2025-08-02 12:09:34 +08:00
commit e70b01cdca
2785 changed files with 575579 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
# MinimalAPI
- **功能描述:** 指定该UInterface对象不导出到别的模块
- **元数据类型:** bool
- **引擎模块:** DllExport
- **常用程度:★**
可以参照UCLASS里的MinimalAPI的解释。
简单来说UInterface对象只是作为接口的辅助对象因此本身并没有什么可值得暴露出来的函数。因此源码里的大部分UInterface对象都被标记成了MinimalAPI以加快编译同时隔绝别的模块使用。
```cpp
UINTERFACE(MinimalAPI, BlueprintType)
class USoundLibraryProviderInterface : public UInterface
{
GENERATED_BODY()
};
```