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

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

51. movieclip destroy 后重新加载失败 [ 72%]

...========== >>getMovieClipAtlas: res/swf/bomb.swf true Failed to load resource: net::ERR_FILE_NOT_FOUND [warn]Retry to load: bomb/2.png Failed to load resource: net::ERR_FILE_NOT_FOUND Failed to load resource: net::ERR_FILE_NOT_FOUND Failed to load resource: net::ERR_FILE_NOT_FOUND Failed to lo...

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

52. laya.media.VideoTexture_API3.0 [ 72%]

...oad loadedmetadata off offAll offAllCaller on once pause play destroyUnusedResources Constructors constructor new VideoTexture(): VideoTexture Overrides BaseTexture.constructor Defined in laya/media/VideoTexture.ts:33 创建VideoTexture对象, Returns VideoTexture Properties _id _id: number = 0 In...

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

53. laya.d3.core.material.unlit.UnlitTestMaterial_API3.0 [ 72%]

...dex setVector3 setVector3ByIndex setVector4 setVector4ByIndex destroyUnusedResources load Constructors constructor new UnlitTestMaterial(): UnlitTestMaterial Overrides Material.constructor Defined in laya/d3/core/material/unlit/UnlitTestMaterial.ts:3 Returns UnlitTestMaterial Properties destoryedImm...

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

54. 打包突然不成功。RangeError: Invalid string length at encodeURIComponent () at Function.SMD5.str2rstrUTF8 [ 71%]

... 微博 QZONE 微信 155*****949 赞同来自: =mediumD:\LayaAirIDE_1.7.20\resources\app\out\layarepublic\LayaAirProjectPack\LayaAirProjectPack.max.js:3232 return unescape(encodeURIComponent(input)) ^ RangeError: Invalid string length at encodeURIComponent () at Function.SMD5.str2rstrUTF8 (D:\LayaAi...

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

55. laya.d3.core.pixelline.PixelLineMaterial_API3.0 [ 71%]

...dex setVector3 setVector3ByIndex setVector4 setVector4ByIndex destroyUnusedResources load Constructors constructor new PixelLineMaterial(): PixelLineMaterial Overrides Material.constructor Defined in laya/d3/core/pixelLine/PixelLineMaterial.ts:36 创建一个 PixelLineMaterial 实例。 Returns Pixe...

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

56. 分享:截屏! [ 71%]

...t laya.display.Sprite;     import laya.events.Event;     import laya.resource.HTMLCanvas;     import laya.resource.Texture;     import laya.utils.Browser;     import laya.webgl.WebGL;          public class LayaAirDemo {         private var sp:Sprite ;         public ...

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

57. Texture引用问题 [ 71%]

Texture引用问题 当我打开然后关闭一个界面后,调用Laya.Resource.destroyUnusedResources,发现内存未清理。 经调试发现,界面中有一个Image,设置了left=right=0,导致又触发了changeSource,堆栈: 这里会重新设置DrawTextureCmd,但是lastOne未...

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

58. laya.d3.core.material.SkyBoxMaterial_API3.0 [ 71%]

...dex setVector3 setVector3ByIndex setVector4 setVector4ByIndex destroyUnusedResources load Constructors constructor new SkyBoxMaterial(): SkyBoxMaterial Overrides Material.constructor Defined in laya/d3/core/material/SkyBoxMaterial.ts:81 创建一个 SkyBoxMaterial 实例。 Returns SkyBoxMaterial Pr...

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

59. native打包 java.lang.NoClassDefFoundError: com/android/resources/ResourceFolderType [ 71%]

native打包 java.lang.NoClassDefFoundError: com/android/resources/ResourceFolderType 使用demo导出工程,然后使用android studio导入。 打apk,报错。 Error:Module 'main' production: java.lang.NoClassDefFoundError: com/android/resources/ResourceFolderType 网上也没找到啥原因...

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

60. [laya2.0]3D场景怎么截屏 [ 71%]

...截2D图,3D模型场景截的坐标角度都有问题 let canvas: laya.resource.HTMLCanvas = Laya.stage.drawToCanvas(600, 1000, 0, 0); let tex: laya.resource.Texture = canvas.getTexture(); let sp: Laya.Sprite = new Laya.Sprite(); sp.texture = tex; Laya.stage.addChild(sp); 附件 : --> 2019-10-12 ...

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