This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
专业(SIM)
UnigineEditor
界面概述
资源工作流程
版本控制
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
材质和着色器
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
创建内容
内容优化
材质
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

在后台加载节点

远离摄像机的节点的后台加载使您可以节省RAM并增加世界加载。

UNIGINE提供了一个World Layer节点,该节点可以包含成千上万个其他节点,并从一定距离开始在后台执行这些节点的加载。例如,如果您的节点距离相机很远,可以将其添加到“世界图层”中,并指定到相机的距离,从这些节点开始加载。这样,您可以提高应用程序的性能:仅当摄像机触发加载World Layer节点时才加载节点。

World Layer节点由.node文件表示,该文件存储一个或多个要在后台加载的节点。因此,要将World Layer用于内容优化,应执行以下操作:

  1. 使用.node file in one of the ways described here.
  2. 在菜单栏中,选择Create -> Optimization -> World Layer并指定在上一步中创建的.node文件。
  3. 将节点放置在世界上。 In the World Hierarchy, the World Layer will be presented as a single node. You can expand it to access nodes stored inside.
    世界层崩溃
    扩展了世界图层
  4. Parameters窗口的World Layer标签中,指定加载和清除距离

    注意
    距离是从边界框的最近面计算得出的。您可以通过启用Point选项将中心点用于计算。
  5. 如有必要,请为other settings for the World Layer.

要检查结果,请将相机设置在距图层所需的距离处,锁定,然后重新加载世界。加载世界后,开始将相机移向图层:以指定距离加载图层。

也可以看看

最新更新: 2020-10-02
Build: ()