大约有 27,752 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0367 秒)
Laya_社区(26199) Laya3.0_api(468) Laya2.0_文档(427) Laya2.0_api(191) laya_api(154) Laya_示例(117) Laya3.0_文档(116) Laya2.0_示例(80)
...请问下是引擎bug还是我哪里代码使用不当导致的? laya.webgl.js:6398 Uncaught TypeError: Cannot read property '_length' of null at WebGLContext2D.__proto._flushToTarget (laya.webgl.js:6398) at SubmitCMD.__proto.renderSubmit (laya.webgl.js:5338) at WebGLConte...
来源: Laya_社区 发布时间: 20190704
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/animation/AnimatorStateScript" AnimatorStateScript Class AnimatorStateScript AnimatorStateScript 类用于动画状态脚本的...
来源: Laya3.0_api 发布时间: 20231115
...6-11-18 0 0 分享 微博 QZONE 微信 shaouXie 赞同来自: var bg = new Laya.Sprite(); bg.loadImage("res/bg-480x720.jpg"); Laya.stage.on(Laya.Event.RESIZE,this,onResize); function onResize() { var scale,scaleX,scaleY; scaleX = Browser.clientWidth/480; scaleY = Browser.clientH...
来源: Laya_社区 发布时间: 20161118
...数在微信真机上的问题 版本:1.7.19.1beta 使用的3D场景: Laya3D.init(0, 0, true); 今天做了一个测试,在微信小游戏上显示一个Dialog 代码如下: Laya.loader.load(["res/atlas/comp.atlas"], Laya.Handler.create(this, function(){ console.log("load atals ok"); var d...
来源: Laya_社区 发布时间: 20180525
...r 发布微信游戏后失效。是因为什么? Accelerator.instance.on(Laya.Event.CHANGE, this, monitorAccelerator); function monitorAccelerator(acceleration, accelerationIncludingGravity, rotationRate, interval) { let x = accelerationIncludingGravity.x; let y = accelerat...
来源: Laya_社区 发布时间: 20180322
Laya 安卓端 在服务端运行指令layadcc ./ 后进不去,提示 assetId is old 和 init dcc fail。然后过五六个小时后才不会报这个错。。才能进去 p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Helvetica Neue'; color: #454545} span.s1 {font: 12.0px '.PingFang SC'} 1...
来源: Laya_社区 发布时间: 20181209
关于LayaAir.d.ts生成的建议 使用TypeScript开发时,LayaAir.d.ts中各个类生成的都是class。 能否与标准的lib.d.ts中保持一致,比如对于Date声明为: interface Date { } interface DateConstructor { } const Date: DateConstructor; 这样应用可以针对引擎层的...
来源: Laya_社区 发布时间: 20170705
...前就碰到了,到现在2.11了还没修好,每次更新都得改下laya.core.js 附件 : --> 2021-06-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 提交问题需要附带一个必...
来源: Laya_社区 发布时间: 20210617
...现在使用的demo,hello.js//创建舞台,默认背景色是黑色的 Laya.init(600, 300); var txt = new Laya.Text(); //设置文本内容 txt.text = "Hello"; //设置文本颜色 txt.color = "#FF0000"; //设置文本字体大小,单位是像素 txt.fontSize = 66; //设置字体描边 txt.str...
来源: Laya_社区 发布时间: 20171019
[LayaAir2]iOS设备,抖音app报错 requestAnimationFrame 使用的Layaair引擎2.13.1 [TMG] Object {message: "at requestAnimationFrame ... message: "at requestAnimationFrame callback err1" name: "USER_RUNTIME_ERROR" stack: "construct@[native code] at f(helium.js:4:269) at ?(helium.js:4:865)...
来源: Laya_社区 发布时间: 20240305