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

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

1211. OpenGL报错 [ 63%]

....Offscreen-For-WebGL-0DB79150]GL ERROR :GL_INVALID_OPERATION : glDrawElements: attempt to access out of range vertices in attribute 0 [file:///E:/Laya_APP_Hall/Laya_Chess_App/bin/index.html],然后界面会闪烁黑一下,研究好久都找不出什么问题,希望官方提供一下思路(...

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

1212. laya.ui.Slider_API3.0 [ 63%]

...isVertical mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy allowClickBack alpha anchorX anchorY bar blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInSta...

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

1213. laya.ui.Clip_API3.0 [ 63%]

... 的值,用于控制 clip 对象的显示位置。 this.clip.on(laya.events.Event.CLICK, this, this.onClick);//给 clip 添加点击事件函数侦听。 Laya.stage.addChild(this.clip);//将此 clip 对象添加到显示列表。 } private onClick(): void { console.log("clip 的点击事件侦听...

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

1214. 第一次使用layabox,用IDE自带的示例,编译后要在微信开发者工具中预览提示包太大 [ 63%]

...09-27 0 7 分享 微博 QZONE 微信 185*****766 赞同来自: 请问你是ts项目吗?我用laya2.0新建出来的项目,编译报错.你遇到这个情况了吗?   TypeScript error: ../../../node_modules/@types/gsap/index.d.ts(6,22): Error TS6053: File '../../../node_modules/@types/gsap/Animation...

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

1215. 分享:Sprite 转换成3D贴图(Texture2D)的方法,如果有更好的方法,请告诉我。 [ 63%]

...) 加载到舞台的3D模型不显示贴图 分享:打地鼠 AS、JS、TS版本 Demo! 分享:适配LayaAir版本的PureMVC框架 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何...

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

1216. 微信小游戏:HTMLDivElement的使用 [ 63%]

...uire("./js/dom_parser");这里还需要引入LayaAir引擎库,AS3跟JS或TS不一样,这里自行引入即可。 代码片段: var p = new HTMLDivElement(); Laya.stage.addChild(p); p.style.font = "Impact"; p.style.fontSize = 30; var html = "<span color='#e3d26a'>使用</span>"; htm...

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

1217. facebook试玩项目上传上去之后音效没了 [ 63%]

...运行时 找不到类的定义!这是为什么? 已上传 Demo 附件 TS项目使用matter.js库无智能提示 IOS系统内嵌H5游戏,退到后台,等几秒返回音乐音效全无 btn 鼠标移动上去默认文本颜色是绿色,我想换成其他颜色,如何操作? layaAir TS项...

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

1218. 开放域关系链 掉帧严重有什么优化方案吗? [ 63%]

...域工程,用微信开发者工具打开报错 LayaAirIDE1.4版本里用TS引擎库使用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 2.0.0 beta3 开放域排行榜 部分文字显示异常!【有Demo必现】 关于优化求助思路,运行时log...

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

1219. laya.d3.core.render.command.CommandBuffer_API3.0 [ 63%]

...cessors casterShadow context name Methods _apply _applyOne addCustomCMD blitScreenQuad blitScreenQuadByMaterial blitScreenTriangle clearRenderTarget drawMesh drawMeshInstance drawRender getCommandsSize setGlobalColor setGlobalInt setGlobalMatrix setGlobalNumber setGlobalTexture setGlobalVector setGl...

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

1220. laya.ui.FontClip_API3.0 [ 63%]

...utoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY autoPlay blendMode bottom cacheAs centerX centerY clipHeight clipWidth clipX clipY components customRenderEnable dataSource destroyed direction disabled di...

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