大约有 122 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0039 秒)
Laya_社区(63) Laya3.0_api(23) laya_api(16) Laya2.0_api(11) Laya2.0_文档(4) Laya3.0_文档(3) Laya2.0_示例(1) Laya_示例(1)
...material = mat; //设置场景的反射贴图 scene.customReflection = mat.textureCube; //设置曝光强度 var exposureNumber:Number = 0; mat.exposure = 0.6 + 1; })); ..... //加载Mesh Mesh.load("res/threeDimen/staticModel/teapot/teapot-Teapot001.lm", Handler.create(null, function(mesh:Mesh):void...
来源: Laya2.0_文档 发布时间: 20210715
...promise) TypeError: Cannot read property 'width' of null at Function.Texture._create (laya.core.js:15946) at Texture.__proto._onLoaded (laya.core.js:15750) at EventHandler.__proto.runWith (laya.core.js:1410) at ResInfo.__proto.event (laya.core.js:1166) at LoaderManager....
来源: Laya_社区 发布时间: 20200201
...但是可以通过调用 reCache 方法手动刷新。 注意: 1.Sprite texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.time...
来源: laya_api 发布时间: 20170929
...源加载完成后,会自动缓存至资源库中。 Image source : Texture 对象的纹理资源。 Image stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean设置cacheAs为非空时此值才有效,staticCache=true时,子对象变化时不会自动更新缓...
来源: Laya2.0_api 发布时间: 20190513
...58]GL ERROR :GL_INVALID_OPERATION : glDrawElements: Source and destination textures of the draw are the same. VM72 2017-09-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 Monica - 知识达人 赞同来自: ...
来源: Laya_社区 发布时间: 20170910
...'typeof RenderTarget2D' incorrectly extends base class static side 'typeof Texture'. Types of property 'create' are incompatible. Type '(w: number, h: number, surfaceFormat?: number, surfaceType?: number, depthStencilFormat?: number,...' is not assignable to type '(source: any, x: number, y: number,...
来源: Laya_社区 发布时间: 20170814
...RROR :GL_INVALID_OPERATION : glDrawElements: Source and destination textures of the draw are the same. 百度了一下,是webgl底层报出来的,不知道这怎么解决? 2017-10-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20171010
...rl,Laya.Handler.create(this,()=>{ let tur:Laya.Texture = Laya.loader.getRes(cg_url); if(tur)img_cg.graphics.drawImage(tur) }),null,Laya.Loader.IMAGE); 这段代码, 当 cg_url等于“”的时候,底层判断会走到这...
来源: Laya_社区 发布时间: 20201130
Laya 使用VideoTexture播放视频 最近因需要在Laya上播放视频,看了下帖子,都说是要使用 Laya.Browser.createElement("video") 创建html元素来播放视频,这样做和Laya引擎的结合太差,可定制性也很大,关键时有时候需要对视频界面做一些动...
来源: Laya_社区 发布时间: 20191019
...'typeof RenderTarget2D' incorrectly extends base class static side 'typeof Texture'. Types of property 'create' are incompatible. Type '(w: number, h: number, surfaceFormat?: number, surfaceType?: number, depthStencilFormat?: number,...' is not assignable to type '(source: any, x: number, y...
来源: Laya_社区 发布时间: 20170721