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

大约有 14 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0028 秒)

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

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

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

2. Laya.Loader.getRes("xxx.png")取出来的资源为什么是Texture2D,不是Texture [ 78%]

Laya.Loader.getRes("xxx.png")取出来的资源为什么是Texture2D,不是Texture 两张图片,一张取出来是Texture。 另一张却是Texture2D 版本 Laya 2.4.0.1600   这是一个图集动画,第一次加载显示没问题,是在第二次的时候出了问题。   播放流程:第...

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

3. laya.resource.Texture [ 70%]

API 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

4. graphics.drawTexture 有问题,紧急! [ 63%]

graphics.drawTexture 有问题,紧急! 我想实现一个矢量画图功能,但是单纯的使用graphics.drawLine会发现DrawCall的指数会不断增多,为了优化相处了一个方案。   没画完一条线都将此画布drawToCanvas转成一个Texture,再clear这个画布,然...

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

5. TypeError: Cannot read property 'on' of null [ 61%]

TypeError: Cannot read property 'on' of null 按钮点击报错 同一个页面中包含多个view组件,总scence上使用gamecontrol脚本注册各个组件,在分view上设置按钮点击事件,运行即报错 取消第二个页面的按钮.on之后不报错 附件 : --> example.rar 2019-0...

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

6. TypeError: Cannot read property 'm_jointList' of null [ 60%]

TypeError: Cannot read property 'm_jointList' of null   一个子弹同时撞击两个物体 报错 求问解决方法 附件 : --> 2019-04-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来...

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

7. laya.resource.RenderTexture2D [ 60%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames RenderTexture2DProperties | Methods | Constants Packagelaya.resourceClasspublic class RenderTexture2DInheritanceRenderTexture2D BaseTexture laya.resource.Bitmap RenderTexture 类用于创建渲染目标。 Public Proper...

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

8. TypeError: Cannot read property '_layer' of null; at Function.FrustumCulling.renderObjectCulling [ 60%]

TypeError: Cannot read property '_layer' of null; at Function.FrustumCulling.renderObjectCulling 写了一个可以随机生成物体的生成器,当发生碰撞就销毁,启动之后报这个错,如果不销毁就没有问题。 附件 : --> 2018-12-10 添加评论 免费帖 --> 分享 微...

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

9. laya.resource.RenderTexture2D_API3.0 [ 58%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/RenderTexture2D" RenderTexture2D Class RenderTexture2D RenderTexture 类用于创建渲染目标。 Hierarchy BaseTexture ...

来源: Laya3.0_api 发布时间: 20231115

10. laya.resource.NativeRenderTexture2D_API3.0 [ 58%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/NativeRenderTexture2D" NativeRenderTexture2D Class NativeRenderTexture2D RenderTexture 类用于创建渲染目标。 Hier...

来源: Laya3.0_api 发布时间: 20231115