This page has been translated automatically.
UnigineEditor
Interface Overview
Settings and Preferences
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Using Editor Tools for Specific Tasks
FAQ
编程
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
应用程序接口
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
CIGI Client Plugin
Rendering-Related Classes
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

Assets and Runtime Files

Each time an asset is created or imported, the UnigineEditor creates a corresponding file and a *.meta file in the data folder of your project, it can also generate so-called "runtime files" when necessary.

Runtime files are files in UNIGINE's native format (such as compressed .dds textures, .mesh geometry, .anim animations, etc.) used by the Engine at run time.

In the context of runtime files, assets in UNIGINE can be divided into two groups:

  • For a native asset (in UNIGINE's native format) no runtime files will be generated. Such an asset itself will be treated and used as a runtime file.
    Notice
    • Such assets are included in the final build “as is”.
    • A *.mesh file can be treated as a non-native asset if the Unchanged option is disabled for it (a corresponding runtime file will be generated).
  • For a non-native asset (e.g. .fbx, .obj, .hdr, etc.) corresponding runtime file(s) will be generated in the data/.runtimes folder.

    A particular case of a non-native asset is a container-asset — such assets have multiple runtime files generated for them (e.g. an FBX asset may produce .node, .mesh, .mat, etc. files).

Notice
You can choose to use a non-native asset as a runtime file, in this case the asset will be treated as a native one (no runtime file will be generated for it).

Assets and corresponding generated runtime files in the data/.runtimes folder

The following table shows the types of runtime files generated for certain types of assets.

Non-native Asset Type Runtime(s) Produced
*.fbx, *.dae, *.3ds

Node (*.node)

Static Meshes (*.mesh)

Skinned Mesh Animations (*.anim)

Materials (*.mat)

Textures (*.dds)

*.obj + *.mtl

Node (*.node)

Static Meshes (*.mesh)

Materials (*.mat)

Textures (*.dds)

*.png, *.jpg, *.tiff, *.dds, *tgs, *.rgb, *.rgba, *.psd, *.hdr, *.pgm, *.ppm, *.sgi Texture (*.dds)

You can use assets_info and assets_list console commands to view infomation on non-native assets and runtimes generated for them.

To find a runtime file generated for an asset, right-click the asset in the Asset Browser and choose Show Runtime in Explorer in the context menu.

See Also

Last update: 2019-08-16
Build: ()