大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0079 秒)
Laya_社区(2475) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(35)
...发现无效。 查看getDrawSprite的源代码: __proto.getDrawSprite=function(gridX,gridY){ var tSprite=new GridSprite(); tSprite.relativeX=gridX *this._map.gridWidth; tSprite.relativeY=gridY *this._map.gridHeight; tSprite.initData(this._map); this._gridSpriteArray.push(tSprite); return tSprite;...
来源: Laya_社区 发布时间: 20161228
...微信小程序时,用微信工具跑,报“TypeError: eval is not a function”, 我看了发布出来的bundle.js,确实有很多eval函数;然后我在微信工具勾了“把JS编译为ES5”后,这时候微信工具上能跑了。 诡异的是:我再把“JS编译为ES5”的勾...
来源: Laya_社区 发布时间: 20250905
...n toAngle toHexColor toRadian _gid _pi _pi2 Legend Object literal Variable Function Type alias Class Class with type parameter Enumeration Interface Static method
来源: Laya3.0_api 发布时间: 20231115
...tils.Stat; import common.CameraMoveScript; public class SceneLoad { public function SceneLoad() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; Stat.show(); var scene:Scene = Laya.stage.addChild(Scene.load("../../../../res/threeDimen/sce...
来源: Laya_示例 发布时间: 20260303
... zeroTolerance fastInvSqrt isZero nearEqual Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Static property Static method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231102
..._indexInList 在CastShadowList中要重写_remove __proto._remove=function(index){ this.length--; if (index!==this.length){ var end=this.elements[this.length]; this.elements[index]=end; en...
来源: Laya_社区 发布时间: 20181214
...图集的资源没有显示。 例如Scene.open("a"); Laya.timer.once(2000,function(){//2s后关闭场景 Scene.destroy("a"); Scene.gc(); Scene.open("a");//打开后,图集里的资源丢失,其他资源还在 }); 问题追踪: 我发现调用gc之后,位图资源回收掉了,但是texture...
来源: Laya_社区 发布时间: 20190109
...ya.webgl.WebGL; import laya.display.Text; public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(480, 640,WebGL); Laya.stage.bgColor = "#FFFF33"; var txt:Text = new Text(); //给文本的text属性赋值 txt.text = "gggggqqqqqqqyyyyyyyvvvv"; txt.align = "center"; txt.fo...
来源: Laya_社区 发布时间: 20190606
...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Static property Static method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...赞同来自: public getSpineAni(url:string,completeCaller:any,completeFun:Function):void { this.m_spineCopmleteFun = completeFun; this.m_completeCaller = completeCaller; this.m_curLoadingUrl = url; if(this.isLoaded(...
来源: Laya_社区 发布时间: 20170801