虚幻引擎如何将道具、灯光和摄像机等Actor放置到关卡中

2022-11-09 0 1,257

Actor是可以放置在关卡中的任何对象,从创建游戏环境的静态网格体到声音、摄像机、玩家角色等。本页将向您展示如何将这些Actor放入关卡中,以便将世界变为现实。

将Actor放入关卡会创建Actor所基于的对象的实例

将Actor添加到关卡也会将其添加到世界大纲视图中,默认情况下,世界大纲视图位于虚幻编辑器的右上角。有关详细信息,请参阅世界大纲指南文档。

必需的设置

在按照本页所述的工作流程进行操作之前,必须创建一个新项目并在虚幻编辑器中打开它。此页面上的示例将使用

[](了解基础知识/项目模板/第三人称模板)

,但您可以选择任何您喜欢的模板。

使用“放置参与者”面板

本节将向您展示如何从“放置Actor”面板中放置Actor。要打开此面板,请从主菜单中转到“窗口>放置Actor”。“放置Actor”面板将在虚幻编辑器窗口的左侧打开。

让我们继续将一个简单的立方体放入您的关卡中。在“放置Actor”面板中,左键单击立方体Actor,然后将其拖到关卡中,如下面的GIF所示。

虚幻引擎如何将道具、灯光和摄像机等Actor放置到关卡中

您可以为“放置Actor”面板中的任何Actor执行此操作。

Place Actors Panel Interface

虚幻引擎如何将道具、灯光和摄像机等Actor放置到关卡中

The Place Actors panel consists of three major areas:

  1. Search
  2. Filters
  3. Asset View

1. Search

Use the Search bar to find any Actor by name.

2. Filters

Use these tabs to quickly switch between Actor categories.

 
Tab Contents
Recently Placed Rolling history of up to the last 20 types of Actors you placed in your Level. This history is project-specific.
Basic Basic Actors such as planes, Pawns, and trigger volumes. Also contains empty Actors and Characters.
Lights Different types of lights you can place into your Level.
Shapes Simple primitives (cube, sphere, cylinder, cone, and plane).
Cinematic A cinematic camera and related Actors that you can use to simulate real-world camera movement.
Visual Effects Volumes that visually affect part of all of your Level in some way, such as fog, post-processing, and reflections.
Geometry Geometry brushes you can use to quickly block out or prototype a level.

Use the Add or Subtract radio buttons to change whether the brush adds geometry to the Level or removes existing geometry.

Volumes All placeable Volume types.
All Classes All placeable Actors.

3. Asset View

This view shows all Assets that correspond to the search or filters you selected.

An Asset is any piece of content within an Unreal Engine project. All Actors are Assets.

Placing Actors Using the Context Menu

This section will show you how to place Actors through a context menu. A context menu is any menu that opens when you right-click inside Unreal Engine.

You will select the Actor you want to place from the Content Browser. The fastest way to open an instance of the Content Browser is to click the Content Drawer button in the lower-left corner of the Unreal Editor window. If you want this instance to persist when it loses focus (when you click away from it), click the Dock in Editor button in its upper-right corner.

To place an Actor from the Content Browser, follow the steps below:

  1. In the Content Browser, find the Asset you want to place.
  2. Left-click the Asset to select it.
  3. With the Asset still selected, right-click anywhere in the Level Viewport to open the context menu.
  4. Click the Asset under the Place Actor section.

After selecting the Asset from the context menu, you will see it appear inside your Level at the coordinates where you right-clicked.

You can also use the context menu to quickly add different types of Assets to your level, even when you have a specific Asset selected in the Content Browser. To see the types of Assets you can add, right-click anywhere in your Level Viewport, then hover over the Place Actor section. Click any Actor you see in this section to place it.

Replacing Actors

You can also use the context menu to replace one or more Actors in the Level Viewport with an Asset you selected in the Content Browser. This can be useful if you want to swap multiple Assets at once.

To replace one or more Actors, follow the steps below:

  1. In the Content Browser, select the Actor you want to replace another Actor with.
  2. Right-click the Actor or Actors in the Level Viewport to open the context menu.
  3. Click Replace Selected Actors with.

You can also use this method to replace the selected Actor with any Actor that is also available from the Place Actors panel.

Placing Actors Using Drag and Drop

You can add Actors to your Level from the Content Browser by using drag and drop. To do this, follow the steps below:

  1. In the Content Browser, find the Asset you want to place.
  2. Left-click the Asset, then drag it into the Level Viewport and drop it at the location where you want to place it.
虚幻引擎如何将道具、灯光和摄像机等Actor放置到关卡中

When you drag and drop an Asset from the Content Browser, the following types of Actors are created for the associated type of Asset:

  • 蓝图:放置蓝图的实例。
  • 骨架网格体:放置一个骨架网格体Actor。
  • 静态网格体:放置一个静态网格体。
  • 声音提示:放置环境声音
  • 声波:放置环境

从类查看器中放置演员

放置Actor的更高级方法是使用类查看器,这是虚幻编辑器使用的所有的分层列表。

若要从类查看器放置 Actor,请执行以下步骤:

  1. 打开类查看器。从主菜单中,转到工具>类查看器

    任何可以放置在关卡中的Actor都会在此窗口中被染成蓝色。

  2. 选择要放置的资源,然后将其拖到关卡视口中。
虚幻引擎如何将道具、灯光和摄像机等Actor放置到关卡中

有关详细信息,请参阅“类查看器”页。



微信扫描下方的二维码阅读本文

虚幻引擎如何将道具、灯光和摄像机等Actor放置到关卡中

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

本站提供的一切软件、教程和内容信息仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。本站信息来自网络收集整理,版权争议与本站无关。您必须在下载后的24个小时之内,从您的电脑或手机中彻底删除上述内容。如果您喜欢该程序和内容,请支持正版,购买注册,得到更好的正版服务。我们非常重视版权问题,如有侵权请邮件与我们联系处理。敬请谅解!

三维库 技术博客 虚幻引擎如何将道具、灯光和摄像机等Actor放置到关卡中 https://www.3vku.cn/5502.html

有任何问题请邮件联系或者QQ联系即可。

常见问题
  • 如果您发现某个资源链接失效了,可以第一时间反馈我们网站的在线客服人员进行反馈,同时也可以发送邮件至gouweicaosheji#163.com #改为@即可
查看详情
  • 我们接外包的,建模、特效、视频、美工等都是可以接的哟,如果您有需要可以联系我们的在线客服人员。
查看详情
  • 目前我们站点资源使用的是百度云盘、天翼云盘两种。如果大家有需求其他云盘的可以反馈到客服人员进行云盘链接转存。
查看详情
  • 有的资源需要解压密码?
查看详情

相关文章

发表评论
暂无评论