大约有 794 项符合查询结果, 库内数据总量为 30,906 项。 (搜索耗时: 0.0063 秒)
Laya_社区(497) Laya3.0_api(119) Laya2.0_api(72) Laya2.0_文档(29) laya_api(24) Laya3.0_文档(24) Laya_示例(21) Laya2.0_示例(8)
...启CastShadow以后,模型会莫名其妙消失,物体渲染队列的_IndexInList会被破坏 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 做好的粒子特效在U3D里循环正常。在LAYA插件里预览跳帧闪烁。序列素材本身也是循环的。但是不...
来源: Laya_社区 发布时间: 20180511
...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
...想在末尾增加,但是每次都给我翻倍的增加,如何解决 _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
... 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_文档 发布时间: 20250103
... 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
...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
...sAntialias = false; Laya.Config.useWebGL2 = false;还是在Context.ts中的_flushToTarget方法中,target.start()前加上gl.flush()都无济于事。 清理微信缓存也无用,但据说重装微信会好,但此举代价太大不具可行性,我也没试过 附件 : --> H5Demo.rar 2023-12-...
来源: Laya_社区 发布时间: 20231228
...到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
...找不到报错面板,请点击调试面板的右上角红色X或者>_) 以下三种方式可显示报错信息面板Console 点击红色报错信息末尾灰色字体,会自动调转到报错信息的js代码行 在js代码中向上滚动你的鼠标滚轮,找到一行注释,该注释...
来源: Laya_社区 发布时间: 20151210
...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