zoukankan      html  css  js  c++  java
  • 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"

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

  • 相关阅读:
    javascript 心得
    pdfbox加载pdf时遇到wrappedioexception报错处理方式
    缩写
    Java学习——连接数据库
    oracle 关于null值排序
    Java学习笔记(二)
    kvm安装windows系统
    导入excel文件信息
    shell脚本根据端口号自启动jar
    spirngboot使用netty实现UDP协议接收数据
  • 原文地址:https://www.cnblogs.com/sunchuankai/p/13278246.html
Copyright © 2011-2022 走看看