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

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

3831. 如何隐藏tiledMap中指定的GridSprite? [ 49%]

...发现无效。 查看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

3832. [LayaAir3][LayaAirIDE3]发布后的bundle.js,偶尔会发布出运行错误的bundle.js [ 49%]

...微信小程序时,用微信工具跑,报“TypeError: eval is not a function”, 我看了发布出来的bundle.js,确实有很多eval函数;然后我在微信工具勾了“把JS编译为ES5”后,这时候微信工具上能跑了。 诡异的是:我再把“JS编译为ES5”的勾...

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

3833. laya.utils.Utils_API3.0 [ 49%]

...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

3834. 3D场景-场景加载 [ 49%]

...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

3835. laya.d3.math.MathUtils3D_API3.0 [ 49%]

... 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

3836. 开启CastShadow以后,模型会莫名其妙消失,物体渲染队列的_IndexInList会被破坏 [ 49%]

..._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

3837. layabox2.0,图集资源地址url缓存错误,导致texture恢复位图资源的时候,加载不到图片资源 [ 49%]

...图集的资源没有显示。 例如Scene.open("a"); Laya.timer.once(2000,function(){//2s后关闭场景 Scene.destroy("a"); Scene.gc(); Scene.open("a");//打开后,图集里的资源丢失,其他资源还在 }); 问题追踪: 我发现调用gc之后,位图资源回收掉了,但是texture...

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

3838. 2.0字体比较小的时候,某些字显示不全 [ 49%]

...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

3839. laya.display.css.SpriteStyle_API3.0 [ 49%]

...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Static property Static method Enumeration Interface

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

3840. 为何我加载spine的动画drawcall会那么高,shader的指标也很高 [ 49%]

...赞同来自: 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