大约有 476 项符合查询结果, 库内数据总量为 30,934 项。 (搜索耗时: 0.0043 秒)
Laya_社区(251) Laya_示例(61) Laya3.0_api(39) Laya2.0_文档(33) Laya2.0_api(28) Laya2.0_示例(25) laya_api(21) Laya3.0_文档(18)
... //TODO vison 2019/5/9 if (Math.abs(this._lastOffset *(this.isVertical ? Laya.stage._canvasTransform.getScaleY():Laya.stage._canvasTransform.getScaleX()))> 20){ 把1改成20 2019-05-09 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复...
来源: Laya_社区 发布时间: 20181028
...idStr = (yield asyncs.downloadSync(urlpath + 'update/assetsid.txt?rand=' + Math.random() * Date.now(), false, null)); console.log("assetsid old:" + curassets + " new:" + assetsidStr); if (!assetsidStr) { if (curassets && curassets != "") { if (window["onLayaInitError"]) { isDccOk = false; wi...
来源: Laya_社区 发布时间: 20180111
...调***/ private function onChange(value:Number):void { trace("进度:" + Math.floor(value * 100) + "%"); } } } ```
来源: Laya2.0_文档 发布时间: 20210715
...; var cellZ = this.terrainSprite.depth / this.aStarMap.height; var gridX = Math.floor((x - minX) / cellX); var gridZ = Math.floor((z - minZ) / cellZ); var boundWidth = this.aStarMap.width - 1; var boundHeight = this.aStarMap.height - 1; (gridX > boundWidth) && (gridX = boundWidth); (gridZ...
来源: Laya3.0_文档 发布时间: 20230303
...ead property 'width' of undefined 05-18 09:55:36.987: I/0(27649): minWidth=Math.min(minWidth,image.width); 05-18 09:55:36.987: I/0(27649): ^ 05-18 09:55:36.987: I/0(27649): TypeError: Cannot read property 'width' of undefined 05-18 09:55:36.987: I...
来源: Laya_社区 发布时间: 20190518
...ge { import laya.display.Animation; import laya.display.Stage; import laya.maths.Rectangle; import laya.net.Loader; import laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class Animation_Altas { private const AniConfPath:String = "../../res/fighter/fighter.json"; publi...
来源: Laya2.0_示例 发布时间: 20250311
...ge { import laya.display.Animation; import laya.display.Stage; import laya.maths.Rectangle; import laya.net.Loader; import laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class Animation_Altas { private const AniConfPath:String = "../../../../res/fighter/fighter.json";...
来源: Laya_示例 发布时间: 20250311
...nts.push(0, h); g.drawPoly(0, 0, points, "#FFFFFF"); this._fguiPro.value = Math.floor(this._index / w * 100); this._index += 8; //移动到这里 if (this._index >= 642) { this._index = 0; } ceshiDemo.zip 2022-11-17 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复...
来源: Laya_社区 发布时间: 20221117
...; for(var i=0;i<10000;i++) { this.text=new Laya.Text(); this.text.text=(Math.random()*100).toFixed(0); this.text.color="#CCCCCC"; this.text.x=Math.random()*550; this.text.y=Math.random()*400; textBox.addChild(this.text); } Laya.stage.addChild(textBox); } } 下面是笔者电脑上的运行时截...
来源: Laya3.0_文档 发布时间: 20240910
...unction () { var yprElem = this.yawPitchRoll.elements; if (Math.abs(yprElem[1]) < 1.50) { Laya.Quaternion.createFromYawPitchRoll(yprElem[0], yprElem[1], yprElem[2], this.tempRotationZ); this.Obj.transform.localRotation = this.tempRotationZ; ...
来源: Laya_社区 发布时间: 20170810