您的位置:首页 > 产品设计 > UI/UE

LeadWerks Documentation- User Guide Importing Assets

2013-04-21 17:48 295 查看

未得允许不得转载,谢谢。

Importing Assets

导入资源

Assets can be easily imported into a Leadwerks project. There are three ways to import an asset:

Select the File > Import menu item. You can then select the file you want to import, and it will be copied into the current project directory.

You can also drag an asset file into the application window, drop it, and it will be copied into the current project directory.

Alternatively, you can simply copy the file yourself anywhere in the project directory and the editor will detect and convert it for you.

在Leadwerks中可以很容易的导入资源,通常有3种方式来导入资源

通过File->Import菜单,选择要导入的资源,它将会被自动拷贝到现在的工程目录

可以通过拖曳资源文件到程序窗口,松开,它会被拷贝到当前的工程文件

另外也可以把文件拷贝到工程目录,编辑器可以自动侦测并转换

Leadwerks automatically detects file changes to source asset files and reimports them. This will even work if the file is changed when the editor is not running, because it will detect the change the next time it runs. Any post-import modifications you have
made to the asset will be lost when it is reimported.

Leadwerks会自动侦测原始资源文件的改变并重新导入他们。就算当时编辑器并没有运行也可以,因为下次运行时它会检测。再次导入是上次所做的修改将会丢失

Textures are automatically converted to the Leadwerks texture file format (*.tex). Textures can be imported from the following image file formats:

Windows Bitmap (*.bmp)

JPEG (*.jpg)

Portable Network Graphics (*.png)

Truevision Targa (*.tga)

Photoshop Files (*.psd)

DirectDraw Surface (*.dds)

纹理将会被转换成Leadwerk纹理文件格式(*.tex)。可以导入的文件格式有

Windows位图文件 (*.bmp)

JPEG (*.jpg)

可移植网络图形(*.png)

Truevision Targa (*.tga)

Photoshop文件 (*.psd)

DirectDraw Surface (*.dds)

Models are automatically converted to the Leadwerks model file format (*.mdl). Models can be imported from the Autodesk FBX file format.

模型会被转换成Leadwerks模型文件(*mdl)。模型可以从Autodesk FBX文件导入

Sounds are loaded from Waveform Audio File Format (*.wav) files and do not require conversion.

声音文件可以从波形声音文件格式(*.wav)文件加载不需要转换

Fonts are loaded from TrueType Font (*.ttf) files and do not require conversion.

字体可以从TrueType格式(*.ttf)加载无需转换

Shader files (*.shader) are created in Leadwerks and do not require conversion.

Shader文件(*.shader)可以在Leaderks中创建,无需转换

Prefab files (*.pfb) are created in Leadwerks and do not require conversion.

Prefab文件(*.pfb) 在Leadwerks中创进无需转换
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: