UE4 Abc 批量导入

Posted sunchuankai

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了UE4 Abc 批量导入相关的知识,希望对你有一定的参考价值。

引擎: 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 批量导入的主要内容,如果未能解决你的问题,请参考以下文章

fbx模型导入ue4法线反了

用正则表达式批量删除注释(//abc和/*abc*/)

如何批量导入数据到Sqlite数据库

ue4导入模型后法线贴图不正常,如图片显示?

maya模型导入UE4,如何做到等比导入

UE4在运行时导入动画