100个你不知道的UE4高级技巧
Posted Jerish_C
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了100个你不知道的UE4高级技巧相关的知识,希望对你有一定的参考价值。
1.Paste Here(复制到这个位置)
![null](https://image.cha138.com/20220106/3a00d58f2fbb4152b8ead2d1d1b7b63d.jpg)
我们打开编辑器的设置,然后可以设置这个快捷键,例如我们可以设置为左括号
![null](https://image.cha138.com/20220106/b5bd10ab5ca14ae2952eb1a4f2245cb1.jpg)
之后我们在场景中复制的时候,就可以直接使用这个快捷键,将之前你Ctrl C的东西复制到你鼠标的位置。
2. 快速对齐——按住V键拖动物体顶点对齐
我们在拖动一个物体的时候,按住V键,可以显示它周围的物体的顶点并且在移动的时候吸附上去。场景摆放的时候利器!。
![null](https://image.cha138.com/20220106/0529602cf62342c292e6d6eb0a59dff8.jpg)
3. 鼠标中键移动物体中心
我们知道所有的物体中心是制作模型的时候决定的,但是我们在编辑器摆放物体的时候,希望能够边缘点对齐,我们就可以临时移动中心点。当然这个移动后中心点是临时的,不会保存。
![null](https://image.cha138.com/20220106/f3aaae442d8c421495dbb20e71e48d39.jpg)
4. 自定义项目类别
我们可以通过修改.uproject file
的category来实现
![null](https://image.cha138.com/20220106/7390d8c5106c473faa2b098dd70f0530.jpg)
5. 使用高级的文件检索方式
例如我们所有定点数小于1000的模型
![null](https://image.cha138.com/20220106/284ea7be1c004fba8cd1c6a18c9cfb24.jpg)
6. 输入计算
![null](https://image.cha138.com/20220106/ec70ebf340e54d7dae316965e1e40d53.jpg)
![null](https://image.cha138.com/20220106/a53afb5f0b604313ae39491ea4641d20.jpg)
7.选择log类型
![null](https://image.cha138.com/20220106/7fcf7f18876144239dcfaf57ba9d2ea2.jpg)
8. 修改文件夹颜色
可以自定义颜色,明显的标记出自己常用的文件夹
![null](https://image.cha138.com/20220106/71eb9c65379145359197e50e7e58b567.jpg)
9.修改缩略图
![null](https://image.cha138.com/20220106/d2ad51c657e240a3b3a86ee19a19a4fd.jpg)
我们可以转动编辑器里面的缩略图,进行更改
![null](https://image.cha138.com/20220106/d447f3d4268c48428fa17832c753161f.jpg)
![null](https://image.cha138.com/20220106/849806480399499189466f8bbdb5c632.jpg)
10.Ctrl +鼠标中间+ 拖动 =快速切换视图
![null](https://image.cha138.com/20220106/254dcac6d1954900a4507cea0a0e8ee6.jpg)
我们使用Ctrl +鼠标中间+ 拖动
可以快速切换视图,拖动的方向决定你的视图模式。
11.测量距离
在平行投影的视图中使用鼠标中键可以测试距离,单位是厘米。
![null](https://image.cha138.com/20220106/96e81bb677bd472ea5cf94e2e9b21c35.jpg)
12.你可以打开4个Content
这样你就不用每次翻阅资源都跳转了,你需要提前锁住。
![null](https://image.cha138.com/20220106/f7185871855247b2827495c9322a6504.jpg)
13.你可以打开4个Detail面板
![null](https://image.cha138.com/20220106/5ac55284fd504e7689561bf99afb783c.jpg)
14.你可以复制任意属性
![null](https://image.cha138.com/20220106/c4c18207f1774e46a7e20937d370099b.jpg)
15.你在编辑器复制的所有东西,其实都文本
所以我们是可以直接使用文本传递的。
![null](https://image.cha138.com/20220106/e7775b11b63d49ebba871da51f45e25d.jpg)
推荐的网站https://blueprintue.com/,可以共享蓝图。
![null](https://image.cha138.com/20220106/5e8fd2b8468e48bbbad37e4e3867594a.jpg)
16. 你能够在color picker保存颜色
![null](https://image.cha138.com/20220106/bacfd95f69c94e8aa5a2ce4426120429.jpg)
17.你能够任意拖动数组改变里面的位置
![null](https://image.cha138.com/20220106/731e39c6a3b846c487982a13bbfcfeef.jpg)
18.蓝图全搜索
![null](https://image.cha138.com/20220106/e6f533fecdb64bb4b872454ba820b831.jpg)
使用CTRL + SHIFT + F
在蓝图编辑器中
19. 使用Ctrl 移动节点
![null](https://image.cha138.com/20220106/bfc7c50c97d34a09a5097f3425e51195.jpg)
20. 修改网络样式
![null](https://image.cha138.com/20220106/301a5bbfb3f4417ba4259e57c9b4d94d.jpg)
r.Editor.NewLevelGrid 0
r.Editor.NewLevelGrid 1
r.Editor.NewLevelGrid 2
21.修改网格材质
![null](https://image.cha138.com/20220106/cc6b94a74ab44473ad938524d50fad0a.jpg)
/Engine/EditorMaterials/LevelGridMaterial2
22. r.Tonemapper.Sharpen 改变锐度
![null](https://image.cha138.com/20220106/76ac6b34f2414ce78efd7c0ef650b9ab.jpg)
r.Tonemapper.Sharpen 100
23.快速跳转到资源
![null](https://image.cha138.com/20220106/df4bec668f444ebf906982893302a39e.jpg)
Ctrl + B
24.Ctrl + P 快速搜索资源
![null](https://image.cha138.com/20220106/0dc49e80be974a46b8fb68cbf52a5979.jpg)
25.修改默认Title的颜色
![null](https://image.cha138.com/20220106/df07c966f91e4b8c838380cc650cdaf0.jpg)
26.修改默认 titlebar 的材质
![null](https://image.cha138.com/20220106/60272514a9cd4f108f5799bd2cce1eb2.jpg)
27.使用键盘End 键快速将Mesh放在地上
一般我们放置一个Mesh在编辑器中,我们可能放置的位置其实并不能完全的贴合地面,我们可以使用这个快捷键。
![null](https://image.cha138.com/20220106/a06674fab7c34713bcbac60fb8254851.jpg)
28.快速添加灯光
按住L键,然后点击编辑器里面的位置,就可以快速放置一个点光源
![null](https://image.cha138.com/20220106/3fd44de2a8dd4582b6c7b9c709ea2bd6.jpg)
29.保持物理模拟后的位置
我们如果想摆放一些简单的开始游戏,对于那些开启物理模拟的物体,他们的位置会发生变化,我们可以保存这个变化。
![null](https://image.cha138.com/20220106/4b7b5e76534746ba9dcc9d6d61d9b3b0.jpg)
30.保存视角,快速转到视角
1.使用Ctrl+[0-9] 保存视角2.使用[0-9] – 跳跃到那个视角
![null](https://image.cha138.com/20220106/18e821eeb94f4131839b6e88783dbeea.jpg)
31.按住鼠标右键+滚轮调整速度
不需要在编辑器里选择
![null](https://image.cha138.com/20220106/62005cc0a893445aaa34cd1f1433d116.jpg)
32. 快速调整 FOV
![null](https://image.cha138.com/20220106/903ad67c1f254016a0891045ee6224e1.jpg)
使用鼠标右键 + C or Z / 数字键 1 or 3
33. 调整蓝图编辑器世界
Ctrl+鼠标滚轮,可以让你摆脱视角本身的限制,视角拉的更近。
![null](https://image.cha138.com/20220106/08629da312da455a86b61d2dd97f6c8d.jpg)
34.使用Valid Get
不要再使用IsVaild了!
![null](https://image.cha138.com/20220106/5af132f2d2354e12b761dad04b35c67e.jpg)
35.快速创建变量
![null](https://image.cha138.com/20220106/74f94cec84a447adabc8d0e7f91cb59a.jpg)
36.Wireframe editor
![null](https://image.cha138.com/20220106/cab5f6932e0f48f8b75895fa700617b4.jpg)
Slate.ShowWireFrame 1
Slate.ShowBatching 1
37.使用help命令
在命令行输入help可以调出本地的Console文档。
![null](https://image.cha138.com/20220106/be36d769f48e4c02afe753064d6dc5f9.jpg)
- 未完待续 -
往期文章推荐
游戏开发技术系列【想做游戏开发,我应该会点啥?】
我是Jerish,网易游戏工程师,5年从业经验。该公众号会定期输出技术干货和游戏科普的文章,关注我回复关键字可以获取游戏开发、操作系统、面试、C++、游戏设计等相关书籍和参考资料。
以上是关于100个你不知道的UE4高级技巧的主要内容,如果未能解决你的问题,请参考以下文章