码迷,mamicode.com
首页 > 其他好文 > 详细

UE4 Abc 批量导入

时间:2020-07-10 11:40:34      阅读:96      评论:0      收藏:0      [点我收藏+]

标签:pat   工程   top   mod   required   plugin   highlight   tin   port   

引擎: 4.24

事前准备:

Alembic是作为插件依附在引擎中,要在工程中使用需要先在Build.cs里面加上dependency:

		PublicIncludePaths.AddRange(
			new string[] {
				// ... add public include paths required here ...
                "AlembicImporter/Public"

            }
			);
				
		
		PrivateIncludePaths.AddRange(
			new string[] {
                "AlembicImporter/Private"
				// ... add other private include paths required here ...
			}
			);
			
		
		PublicDependencyModuleNames.AddRange(
			new string[]
			{
				"Core",
                "AlembicImporter",

				// ... add other public dependencies that you statically link with here ...
			}
			);
			
		
		PrivateDependencyModuleNames.AddRange(
			new string[]
			{
				"Projects",
				"InputCore",
				"UnrealEd",
				"LevelEditor",
				"CoreUObject",
				"Engine",
                                "AlembicImporter",

				// ... add private dependencies that you statically link with here ...	
			}
			);            

加上之后测试

#include "../Plugins/Experimental/AlembicImporter/Source/AlembicImporter/Classes/AlembicImportFactory.h"
#include "../Plugins/Experimental/AlembicImporter/Source/AlembicImporter/Private/AlembicImportOptions.h"
#include "../Plugins/Experimental/AlembicImporter/Source/AlembicLibrary/Public/AbcImportSettings.h"

没有报错的话说明编译通过

 

UE4 Abc 批量导入

标签:pat   工程   top   mod   required   plugin   highlight   tin   port   

原文地址:https://www.cnblogs.com/sunchuankai/p/13278246.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!