随笔分类 -  ue4

摘要:在UNITY中,我们加载资源一般是通过Resources.Load(path).即可完成.该方法返回的是Object类型.如果你想要的是材质或者贴图等等,只要价格类型转换的关键字就可以了例如 as Material,则可以返回一个材质的引用...在UE4中,加载资源的... 阅读全文
posted @ 2017-09-15 11:01 00000000O 阅读(834) 评论(0) 推荐(0)
摘要:http://aigo.iteye.com/blog/2281373原文作者:@玄冬Wong 相关内容:C++实现动态加载的问题:LoadClass()和LoadObject() http://aigo.iteye.com/blog/2281558C++实现动态加载... 阅读全文
posted @ 2017-09-15 10:15 00000000O 阅读(614) 评论(0) 推荐(0)
摘要:http://aigo.iteye.com/blog/2268056相关内容:C++实现动态加载的问题:LoadClass()和LoadObject()http://aigo.iteye.com/blog/2281558C++静态加载问题:ConstructorHel... 阅读全文
posted @ 2017-09-15 10:14 00000000O 阅读(319) 评论(0) 推荐(0)
摘要:http://aigo.iteye.com/blog/2281558原文作者:@玄冬Wong 相关内容:C++静态加载问题:ConstructorHelpers::FClassFinder()和FObjectFinder() http://aigo.iteye.co... 阅读全文
posted @ 2017-09-15 10:13 00000000O 阅读(485) 评论(0) 推荐(0)
摘要:在Unreal Engine 4中,打Log很方便,可以使用宏:[cpp] view plain copy print?UE_LOG(LogTemp, Warning, TEXT("Your message")); 但是使用之前需要先定义Log Category,C... 阅读全文
posted @ 2017-09-14 16:46 00000000O 阅读(700) 评论(0) 推荐(0)
摘要:注意:把log相关两个宏写到类中,并编译后,在输出日志的位置的Categories关键字过滤的位置看不到自己的标签是因为需要先运行一次,输出一些这个标签的log后,这个自定义的标签才会显示在这原文 https://wiki.unrealengine.com/Logs,... 阅读全文
posted @ 2017-09-14 16:27 00000000O 阅读(473) 评论(0) 推荐(0)
摘要:https://answers.unrealengine.com/questions/661969/uspringarmcomponent-ucameracomponent-not-identifie.htmlhttps://docs.unrealengine.com... 阅读全文
posted @ 2017-09-13 18:11 00000000O 阅读(138) 评论(0) 推荐(0)
摘要:注:这里创建actor跟unity有明显不同ue不能创建一个单独的actor,单独的actor也没意义,ue里的actor是用来继承的这里创建的actor都是实例化actor的子类,细想下,并不影响动态创建对象。ue417用下面的写法貌似直接挂了,看SpawnActo... 阅读全文
posted @ 2017-09-13 15:46 00000000O 阅读(1367) 评论(0) 推荐(0)
摘要:c++获取GameMode if(GetWorld()) { auto gamemode = (ASomeGameMode*)GetWorld()->GetAuthGameMode(); }或者ASomeGameMode* gm = (ASomeGameMode*... 阅读全文
posted @ 2017-09-13 15:40 00000000O 阅读(437) 评论(0) 推荐(0)
摘要:http://gad.qq.com/program/translateview/7190281删除一个C++类该方法是从UE4的answerhub上摘选的。本教程介绍了从项目中删除一个C++类所需要的步骤。删除一个指定的C++类为了从你的项目中删除一个C++类,请遵循... 阅读全文
posted @ 2017-09-13 15:14 00000000O 阅读(669) 评论(0) 推荐(0)
摘要:http://www.cnblogs.com/kadaj/p/6412937.html1.创建关卡类 1.创建C++类继承LevelScriptActor 2.打开关卡蓝图 Class Settings->Parent Class 选择你之前创建好的C++类 遇... 阅读全文
posted @ 2017-09-13 10:53 00000000O 阅读(767) 评论(0) 推荐(0)
摘要:原文地址: https://www.unrealengine.com/products/unreal-engine-4 unreal enginer介绍我的UE4学习(一)你曾想过用连线的形式来编写程序么;你曾想过通过编辑工具就可以来创建类,并在vs中自动... 阅读全文
posted @ 2017-09-12 10:45 00000000O 阅读(590) 评论(0) 推荐(0)
摘要:https://docs.unrealengine.com/latest/CHN/index.html中编程指南快速入门 actor生命周期FloatingActor.h#pragma once#include "GameFramework/Actor.h"#incl... 阅读全文
posted @ 2017-09-11 19:37 00000000O 阅读(798) 评论(0) 推荐(0)
摘要:https://docs.unrealengine.com/latest/CHN/Programming/Introduction/index.htmlUE4 中的 C++ 编程介绍Unreal Engine 4.9虚幻 C++ 妙不可言!此指南讲述如何在虚幻引擎中编... 阅读全文
posted @ 2017-09-07 11:51 00000000O 阅读(5353) 评论(0) 推荐(0)
摘要:官网:暴露游戏元素给蓝图https://docs.unrealengine.com/latest/CHN/Engine/Blueprints/TechnicalGuide/ExtendingBlueprints/index.html官网:创建类的基础知识(代码,蓝图,... 阅读全文
posted @ 2017-09-06 16:46 00000000O 阅读(526) 评论(0) 推荐(0)
摘要:官网中文https://docs.unrealengine.com/latest/CHN/index.html官网英文https://docs.unrealengine.com/latest/INT/GettingStarted/index.htmlunreal wi... 阅读全文
posted @ 2017-09-04 18:57 00000000O 阅读(356) 评论(0) 推荐(1)