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

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

281. graphics 问题 [ 77%]

...自: (function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.s...

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

282. LAYA自带VIDEO在安卓X5中报离屏渲染的错,但是在PC端没有问题 [ 77%]

...渲染的错,但是在PC端没有问题 在device.js中WebGLContext.bindTexture方法报的texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering 2019-11-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

283. layabox中纹理的颜色采样问题,用原生combobox也有这个问题 [ 77%]

...复 专注前端三十年 赞同来自: 无雨之地 解决方法,设置Texture2D的filterMode (texture.bitmap as Laya.Texture2D).filterMode = Laya.BaseTexture.FILTERMODE_POINT; 那么问题来了,如何设置所有的默认是这个值呢 2020-12-10 1 0 分享 微博 QZONE 微信 专注前...

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

284. 图片通过drawTexture平铺出现缝隙 [ 77%]

图片通过drawTexture平铺出现缝隙 this.darwSprite = new Sprite();         this.addChild(this.darwSprite);         var t: Texture = Laya.loader.getRes("load/0.png");         this.darwSprite.graphics.drawTexture(t,0,0);         this.darwSprite.graphics.drawTexture(t,176,0);  ...

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

285. 设置遮罩(JavaScript-LayaAir基础篇(JS)-位图) [ 77%]

...代码如下: ```javascript (function() { var Sprite = Laya.Sprite; var Texture = Laya.Texture; var Handler = Laya.Handler; var Res; var img; (function() { Laya.init(1136,640); //设置舞台背景色 Laya.stage.bgColor = "#ffffff" //资源路径 Res = "res/img/monkey1.png"; //先加载图片资...

来源: Laya2.0_文档 发布时间: 20210715

286. 这方法加载不出来图片 Mac电脑 [ 77%]

这方法加载不出来图片 Mac电脑 var t:Laya.Texture = Laya.loader.getRes("res/RunGameImg/floor.png"); var ape: Sprite = new Sprite(); ape.graphics.drawTexture(t, 0, 0); this.addChild(ape); ape.pos(20, 220); 2017-05-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

287. laya.particle.ParticleTemplate2D_API3.0 [ 77%]

...tors constructor Properties _id destroyedImmediately lock name settings sv texture url uuid x y DEBUG activeBlendType Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemor...

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

288. laya.ui.Image [ 77%]

...源加载完成后,会自动缓存至资源库中。 Image  source : Texture 对象的纹理资源。 Image stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean 是否静态缓存此对象的当前帧的最终属性。为 true 时,子对象变化时不会自动...

来源: laya_api 发布时间: 20170929

289. 骨骼动画 如何可以对某一个骨骼进行换肤 [ 77%]

...g, newName:String):void 替换插槽贴图名 setSlotSkin(slotName:String, texture:Texture):void 设置自定义皮肤   2016-09-27 0 2 分享 微博 QZONE 微信 veronsl 赞同来自: 好谢谢 2016-09-27 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先...

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

290. [LayaAirIDE 2.0]TextInput真机输入时显示蓝色字,求解 [ 77%]

...图标 if (input.text.trim().length == 0) { input.changeText(""); sp_icon.texture = Laya.loader.getRes("auth/sp_wrong.png"); switch (input.name) { case "input_nickname": this._arrCheck[0] = false; break; case "input_mobile": this._arrCheck[1] = false; break; case "input_password": this._arrCheck[2] ...

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