LeadWerks Documentation- User Guide Importing Assets

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

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中创进无需转换

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值