想UE4制作拼接

目录

一、目的

1、想知道:UE4如何制作拼接,方便画面随时调整

二、参考

1、

三、操作

1、创建UE4,名字叫做:JointTest

1、进入UE4后一定要设置默认的VS编辑器,因为发现如果使用VS2015打开过,VS2017打开会出现点问题

1、创建C++中Actor类

1、工程文件设置

1、dll设置

1、代码:JointTest.Build.cs

1、MyPawn.h

1、MyPawn.cpp

1、蓝图:

1、打包:


一、目的

1、想知道:UE4如何制作拼接,方便画面随时调整

 

二、参考

1、

 

三、操作

1、创建UE4,名字叫做:JointTest

创建UE4中第三人称,

UE4版本 4.23

VS2017

 

1、进入UE4后一定要设置默认的VS编辑器,因为发现如果使用VS2015打开过,VS2017打开会出现点问题

 

1、创建C++中Actor类

 

1、工程文件设置

 

 

 

 

1、dll设置

 

1、代码:JointTest.Build.cs

// Fill out your copyright notice in the Description page of Project Settings.

using UnrealBuildTool;

using System.IO;

public class JointTest : ModuleRules
{
	public JointTest(ReadOnlyTargetRules Target) : base(Target)
	{
		PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
	
		PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore" });

		PrivateDependencyModuleNames.AddRange(new string[] {  });

        // Uncomment if you are using Slate UI
        // PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });

        // Uncomment if you are using online features
        // PrivateDependencyModuleNames.Add("OnlineSubsystem");

        // To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true

        PublicAdditionalLibraries.Add(Path.Combine(ThirdPartyPath, "lib", "GridScreen.lib"));
    }

    private string ModulePath
    {
        get
        {
            return Path.GetFullPath(Path.Combine(ModuleDirectory));
        }
    }

    private string ThirdPartyPath
    {
        get
        {
            return Path.GetFullPath(Path.Combine(ModulePath, "../../Lib"));
        }
    }

}

 

1、MyPawn.h

_declspec(dllimport) int GridScreen(void);

 

1、MyPawn.cpp

GridScreen();

 

 

1、蓝图:

 

1、打包:

 

 

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值