vault backup: 2024-10-12 17:19:45
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# ConversionRoot
|
||||
|
||||
- **功能描述:** Sets IsConversionRoot metadata flag for this interface.
|
||||
- **元数据类型:** bool
|
||||
- **引擎模块:** Blueprint
|
||||
- **作用机制:** 在Meta中加入[IsConversionRoot](../../../Meta/Blueprint/IsConversionRoot.md)
|
||||
|
||||
在源码中并不能找到该使用示例
|
@@ -0,0 +1,18 @@
|
||||
# MinimalAPI
|
||||
|
||||
- **功能描述:** 指定该UInterface对象不导出到别的模块
|
||||
- **元数据类型:** bool
|
||||
- **引擎模块:** DllExport
|
||||
- **常用程度:★**
|
||||
|
||||
可以参照UCLASS里的MinimalAPI的解释。
|
||||
|
||||
简单来说UInterface对象,只是作为接口的辅助对象,因此本身并没有什么可值得暴露出来的函数。因此源码里的大部分UInterface对象都被标记成了MinimalAPI,以加快编译同时隔绝别的模块使用。
|
||||
|
||||
```cpp
|
||||
UINTERFACE(MinimalAPI, BlueprintType)
|
||||
class USoundLibraryProviderInterface : public UInterface
|
||||
{
|
||||
GENERATED_BODY()
|
||||
};
|
||||
```
|
Reference in New Issue
Block a user