• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,691 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0056 秒)

1. 加载-单一类型资源加载 [ 100%]

...rIDE让项目开发更高效。(function() { var Loader = Laya.Loader; var Texture = Laya.Texture; var Handler = Laya.Handler; (function() { Laya.init(550, 400); // 加载一张png类型资源 Laya.loader.load("../../res/apes/monkey0.png", Handler.create(this, onAssetLoaded1)); // 加载多张png类...

来源: Laya_示例 发布时间: 20240929

2. Texture如何转换成Texture2D有人搞过吗 [ 99%]

Texture如何转换成Texture2D有人搞过吗 Texture如何转换成Texture2D有人搞过吗 2018-12-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 AzureonTang 赞同来自: 1569322907用户 Texture类型有...

来源: Laya_社区 发布时间: 20181221

3. laya.resource.Texture [ 99%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames TextureProperties | Methods | Events Packagelaya.resourceClasspublic class TextureInheritanceTexture EventDispatcher ObjectSubclasses RenderTarget2D Texture 是一个纹理处理类。 Public Properties PropertyDefined By...

来源: laya_api 发布时间: 20170929

4. 求问TextureTexture2D的区别,和使用问题 [ 99%]

求问TextureTexture2D的区别,和使用问题 对用引擎中这两个类的分别不太清楚,有以下几个问题:1、TextureTexture2D有什么区别?我发现自己用Laya.loader.load的图片或ui加载的就是Texture加载.ls/.lh自动生成的贴图就是Texture2D   2、...

来源: Laya_社区 发布时间: 20180314

5. laya.resource.Texture [ 99%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames TextureProperties | Methods | Events Packagelaya.resourceClasspublic class TextureInheritanceTexture EventDispatcher Object Texture 是一个纹理处理类。 Public Properties PropertyDefined By  bitmap : Texture2D ...

来源: Laya2.0_api 发布时间: 20190513

6. 加载-单一类型资源加载 [ 99%]

...onkey2.png"], Handler.create(this, this.onAssetLoaded2)); } onAssetLoaded1(texture) { // 使用texture } onAssetLoaded2() { const Loader = Laya.Loader; let pic1 = Loader.getRes("res/apes/monkey0.png"); let pic2 = Loader.getRes("res/apes/monkey1.png"); let pic3 = Loader.getRes("res/apes/monkey2.png")...

来源: Laya2.0_示例 发布时间: 20240929

7. laya.d3.resource.Texture2D [ 98%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames Texture2DProperties | Methods Packagelaya.d3.resourceClasspublic class Texture2DInheritanceTexture2D BaseTexture laya.resource.Resource Texture2D 二维纹理。 Public Properties Hide Inherited Public Properties Show Inher...

来源: laya_api 发布时间: 20170929

8. 加载-错误处理和进度 [ 98%]

...效。(function() { var Event = Laya.Event; var Loader = Laya.Loader; var Texture = Laya.Texture; var Handler = Laya.Handler; (function() { Laya.init(550, 400); // 无加载失败重试 Laya.loader.retryNum = 0; var urls = ["do not exist", "../../res/fighter/fighter.png", "../../res/legend/map.jpg"]...

来源: Laya_示例 发布时间: 20240929

9. 如何把加载好的二进制数据转成Texture[ 98%]

如何把加载好的二进制数据转成Texture? 通过Loader加载好文件,得到Byte,怎么创建Texture? 2017-05-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 如果你...

来源: Laya_社区 发布时间: 20170502

10. 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function [ 98%]

关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 自己的问题 2019-05-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: 截图和代码...

来源: Laya_社区 发布时间: 20190508