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

大约有 784 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0053 秒)

721. 缓动Tween能用在3D物体或者特效上面吗? [ 53%]

...启CastShadow以后,模型会莫名其妙消失,物体渲染队列的_IndexInList会被破坏 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 做好的粒子特效在U3D里循环正常。在LAYA插件里预览跳帧闪烁。序列素材本身也是循环的。但是不...

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

722. laya.d3.core.scene.Scene [ 53%]

...zOrder进行重新排序。SpriteProtected Methods  MethodDefined By  _parseCustomProps(rootNode:ComponentNode, innerResouMap:Object, customProps:Object, nodeData:Object):void private SceneEvents Hide Inherited Events Show Inherited Events Event Summary Defined By added添加到父对象后调...

来源: laya_api 发布时间: 20170929

723. list ,增加item ,我想在末尾增加,但是每次都给我翻倍的增加,如何解决 [ 53%]

...想在末尾增加,但是每次都给我翻倍的增加,如何解决 _proto.room_xinxi=function(){ this.roombg=new Laya.Image($mj.Curr_Game_ImagePath + "hall/room_bg.png"); this.roombg.pos(50,150); this.addChild(this.roombg); var button = new Sprite(); button.loadImage($mj.Curr_Game_ImagePath + ...

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

724. 实体组件系统 · LayaAir3.0文档 · LAYABOX [ 53%]

... const { regClass, property } = Laya; @regClass() class Animal { private _weight: number = 0; @property( { type : Number } ) get weight() : number { return this._weight; } set weight(value: number) { this._weight = value; } } 3.2.3 是否序列化保存 通过装饰器定义为组件属性后,默...

来源: Laya3.0_文档 发布时间: 20240528

725. 在微信小游戏中使用list,兼听不到mouseHandler跟selectHandler。 [ 53%]

... Image = Laya.Image;   var WID = 373, HEI = 85;   function Item() { Item.__super.call(this); this.size(WID, HEI); this.img = new Image(); this.addChild(this.img);   this.setImg = function(src) { this.img.skin = src; } } Laya.class(Item, "Item", Box);   // 主要逻辑代码 var Stage   = Laya....

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

726. LAYAAIR加载SWF无线循环 [ 53%]

...Laya.init(1136, 640);         //  Laya.stage.alignV = Stage.ALIGN_MIDDLE;         //  Laya.stage.alignH = Stage.ALIGN_CENTER;             Laya.stage.screenMode = Stage.SCREEN_HORIZONTAL;             //设置水平对齐             Laya.stage.a...

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

727. [LayaAirIDE2]华为手机微信版本8.0.45浏览器出现闪屏问题 [ 53%]

...sAntialias = false; Laya.Config.useWebGL2 = false;还是在Context.ts中的_flushToTarget方法中,target.start()前加上gl.flush()都无济于事。 清理微信缓存也无用,但据说重装微信会好,但此举代价太大不具可行性,我也没试过 附件 : --> H5Demo.rar 2023-12-...

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

728. [0]2.13.3 drawToCanvas转出图片bug [ 53%]

...到laya.core.js,找到static drawToCanvas方法 ....不变 var dt = ctx._targets.getData(0, 0, canvasWidth, canvasHeight); //增加开始,进行反预乘处理 for (var i= 0, len= dt.length; i < len; i += 4) { var alpha = dt[i + 3] / 255.0; if (alpha > 0) { dt /= alpha; dt[i + 1] /= alpha;...

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

729. 翻译成JS后在chrome调试面板有报错,该如何在原项目定位? [ 53%]

...找不到报错面板,请点击调试面板的右上角红色X或者>_) 以下三种方式可显示报错信息面板Console 点击红色报错信息末尾灰色字体,会自动调转到报错信息的js代码行 在js代码中向上滚动你的鼠标滚轮,找到一行注释,该注释...

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

730. laya.resource.Texture2DArray_API3.0 [ 53%]

...archy BaseTexture Texture2DArray Index Constructors constructor Properties _id depth destroyedImmediately lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture destroyed dimension filterMode format gammaCorrection gammaSpace gpuMemory height id maxMipmapL...

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