SECTR STREAM QUICKSTART(翻译)

Please note: This is the quickstart guide that gives a fast introduction on how to use the streaming capabilities of SECTR in your project. Please refer to the full manual in the Documentation folder as well. Version 2019.0.1

请注意:这是快速入门指南快速介绍如何使用SECTR在你的项目中的流能力。请参阅手册全文文档文件夹。版本2019.0.1

Contents Contents .................................................................................................................0

STEP 1: Setting Up................................................................................................................2

Step 2: Create A Loader.........................................................................................................4

Step 3: Exporting Chunks.......................................................................................................5

Step 4: Build, Play, Stream ....................................................................................................6

内容

内容............................................................................................................................ 0

步骤1:设置...................................................................................................................2

步骤2:创建一个装载机.................................................................................................4

步骤3:输出块................................................................................................................5

第四步:构建、播放流....................................................................................................6

STEP 1: Setting Up(设置)

The first step in preparing a level for streaming is to create Sectors and Portals. See the SECTR Manual for full details. Here’s a quick recap.

为流媒体准备关卡的第一步是创建扇区和门户。看到SECTR手册中的详细信息。这里是一个快速的回顾。

Select the objects you want to have in your Sector.

选择您希望在扇区中拥有的对象。

Create a new Sector through the Game Object menu or by pressing Shift+Alt+ S

通过游戏对象菜单或按Shift+Alt+S创建一个新的扇区

Create a new Portal through the GameObject menu or by pressing Shift+Alt+P or Draw the geometry of your new portal, and connect the front and back Sectors.

通过游戏对象菜单创建一个新的门户,或按Shift+Alt+P或绘制新门户的几何图形,并连接前面和后面的扇区。

Step 2: Create A Loader(创建一个加载器)

Once your scene is setup with Sectors and Portals, you want to add some objects that will do the loading/streaming for you. SECTR STREAM comes with many different Loader components (for different kinds of games), but a Neighbor Loader is a good place to start.

一旦你的场景设置了扇区和门户,你想要添加一些对象这将为您做加载/流。SECTR流有很多不同的功能加载器组件(用于不同类型的游戏),但Neighbor Loader 是一个好起点。

First, select your player Game Object, or your player Prefab if you create players from Prefabs.

首先,选择你的玩家游戏对象,或者你的玩家预置物,如果你创建的玩家是通过预设物。

Next, add a SECTR Neighbor Loader component to the player (prefab). That’s it!

接下来,添加一个SECTR Neighbor Loader 组件到玩家(预设物)。就是这样!

Pro Tip For more information about all of the other Loader components in the SECTR STREAM, check out the full SECTR manual.

专业技巧:有关SECTR中所有其他加载器组件的更多信息,请参见流,检查完整的SECTR手册。

Step 3: Exporting Chunks(导出块)

Once your scene is setup with Sectors and Portals and you have at least one Loader, its time to export for streaming. This will take all of the children of each Sector and export them into an external scene file (called a Chunk).

一旦你的场景设置了扇区和门户,你至少有一个加载器,它是出口流媒体的时候了。这将把每个部门的孩子都带走将它们导出到外部场景文件(称为块)。

Chunks are exported (and imported) through the SECTR STREAM window. To open it, go to Window-> Procedural Worlds -> SECTR->Stream Window.

块通过SECTR流窗口导出(和导入)。打开它,通过Window-> Procedural Worlds -> SECTR->Stream Window.

Just press the Export All Sectors button to make your scene ready for streaming!

只需按出口所有部门的按钮,使您的现场准备流!

Pro Tip Only Sectors marked as Static can be exported for streaming. Sectors are static by default, so be careful if you change that flag.

专业技巧:只有标记为静态的扇区才能导出为流。扇区是静态的默认情况下,如果你改变了那个标志,一定要小心。

Step 4: Build, Play, Stream(构建、播放、流)

Now that you’re level has been exported, you can play your level and see the streaming in action. Streaming works in the Editor, but it performs better in a build.

现在你的关卡已经被导出,你可以玩你的关卡并看到流媒体在行动。流媒体可以在编辑器中工作,但是在构建中表现得更好。

Pro Tip The SECTR STREAM exporter automatically adds your Chunk scenes to the project Build list. Make sure to remove them if you change the way your scene is laid out or otherwise remove Sectors from the scene.

专业技巧:SECTR流导出器会自动将块场景添加到项目中构建列表。如果你改变了场景的布局或者否则从场景中移除扇区。

 

 

 

 

 

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值