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

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

421. 3d资源释放的问题 [ 37%]

...求新的方案。(为防止出错,我又去做了一遍实验,原本60MB,加载特效后77MB,删除特效sprite3d和释放lh后变成72MB,图片什么残留了) 138*****748 • 2018-08-16 13:44 @ggg333:你要明白资源文件所占内存和实例对象所占内存2个概念,以上我...

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

422. laya.effect.FadeOut_API3.0 [ 37%]

...herited from Component.hasHideFlag Defined in laya/components/Component.ts:60 Parameters flag: number Returns boolean onAdded onAdded(): void Inherited from Component.onAdded Defined in laya/components/Component.ts:262 被添加到节点后调用,和Awake不同的是即使节点未激活onAdded也...

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

423. laya.effect.FadeIn_API3.0 [ 37%]

...herited from Component.hasHideFlag Defined in laya/components/Component.ts:60 Parameters flag: number Returns boolean onAdded onAdded(): void Inherited from Component.onAdded Defined in laya/components/Component.ts:262 被添加到节点后调用,和Awake不同的是即使节点未激活onAdded也...

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

424. laya.components.AnimatorState2D_API3.0 [ 37%]

...ffset loop loop: number = -1 Defined in laya/components/AnimatorState2D.ts:60 动画循环次数,-1或者小于-1为使用clip的循环状态,1为播放一次,2为播放2次,0为无限循环 name name: string Defined in laya/components/AnimatorState2D.ts:40 名称 speed speed: number = 1 Def...

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

425. laya.d3.component.hlod.HLOD_API3.0 [ 37%]

...herited from Component.hasHideFlag Defined in laya/components/Component.ts:60 Parameters flag: number Returns boolean onAdded onAdded(): void Inherited from Component.onAdded Defined in laya/components/Component.ts:262 被添加到节点后调用,和Awake不同的是即使节点未激活onAdded也...

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

426. UI-RefreshList [ 36%]

...; this.addChild(this.avatar); this.avatar.pos(17, 17); this.avatar.width = 60; this.avatar.height = 60; // 列表item红点tips this.redHot = new Image("res/ui/refreshList/img_hd.png"); this.avatar.addChild(this.redHot); this.redHot.pos(-18.5, -18.5); this.redHot.autoSize = true; // 列表item红点...

来源: Laya2.0_示例 发布时间: 20251209

427. laya.ani.bone.Templet_API3.0 [ 36%]

...ParseFail isParseFail: boolean = false Defined in laya/ani/bone/Templet.ts:60 是否解析失败 Optional lock lock: boolean Inherited from Resource.lock Defined in laya/resource/Resource.ts:103 是否加锁,如果true为不能使用自动释放机制。 mBoneArr mBoneArr: Bone[] = [] Defined in l...

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

428. laya.physics.joint.GearJoint_API3.0 [ 36%]

...herited from Component.hasHideFlag Defined in laya/components/Component.ts:60 Parameters flag: number Returns boolean onAdded onAdded(): void Inherited from Component.onAdded Defined in laya/components/Component.ts:262 被添加到节点后调用,和Awake不同的是即使节点未激活onAdded也...

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

429. 输入文本组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 36%]

...h >> 1, Laya.stage.height >> 1); //位置 this.txtin.size(500, 60); //大小 this.txtin.pivot(this.txtin.width/2, this.txtin.height/2); //轴心点 this.txtin.font = "宋体"; //字体 this.txtin.fontSize = 50; //字体大小 this.txtin.color = "#ff0000"; //字体颜色 this.txtin.bold =...

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

430. 和原生Dom交互 · LayaAir3.3 · 引擎文档 · LAYABOX [ 36%]

...le样式 file.style="filter:alpha(opacity=0);opacity:0;width: 150px;height:60px;"; file.type ="file";//设置类型是file类型。 file.accept="image/png";//设置文件的格式为png; file.style.position ="absolute"; file.style.zIndex = 999; 下面看下完整的代码: class Main { private v...

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