大约有 2,984 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0071 秒)
Laya_社区(2430) Laya2.0_文档(172) Laya3.0_api(101) Laya_示例(79) Laya3.0_文档(65) Laya2.0_api(55) laya_api(42) Laya2.0_示例(40)
...(new Laya.DirectionLight()); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); var translate = new Laya.Vector3(0, 0, 0); //(500, 500, 0)改为(0,0,0) var rotation = new Laya.Vector3(0, 0.01, 0); layaMonkey.once(Laya.Event.HIERARCHY_L...
来源: Laya_社区 发布时间: 20170807
...); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); Laya.loader.create("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, onComplete)); function onComplete() { layaMonkey1 = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonk...
来源: Laya_示例 发布时间: 20251209
...才发现 LAYA 真的太太太太好用了!!!! 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) 分享:自定义事件派发与侦听(A页面派发 B页面侦听) TextInput重写onFocus和onBlur事件监听不到 Animation如何加点击事件 关于Laya实现Matter.j...
来源: Laya_社区 发布时间: 20171213
...get", "res/atlas/comp.png", true); xhr.responseType = "arraybuffer"; xhr.onload = function () { if (this.status == 200) { var blob = new Blob([this.response], { type: "image/png" }); var img = document.createElement("img"); img.onload = function (e) { window.URL.revokeObjectURL(img.src); // 清除...
来源: Laya2.0_文档 发布时间: 20210715
...加载成功,但是加载外部图片就不行,没有任何反应 Laya.loader.load(["https://xxdzz.shoujiyeyou.net/ ... ot%3B, "https://xxdzz.shoujiyeyou.net/ ... ot%3B], Handler.create(this, this.onLoaded), null, "json"); Laya.loader.load(["https://xxdzz.shoujiyeyou.net/mmphp/19.png"], Handl...
来源: Laya_社区 发布时间: 20191024
...值。*/ static COMPLETE: string; /** 定义 loaded 事件对象的 type 属性值。*/ static LOADED: string; /** 定义 progress 事件对象的 type 属性值。*/ static PROGRESS: string; /** 定义 input ...
来源: Laya_社区 发布时间: 20170601
...增加-Objc的参数,微信的官方文档中默认让增加-Objc -all_load,但是这样会导致编译报错。 遇到到这种情况可以把参数变成 -Objc -force_load libWeChatSDK.a,配置后,如图1所示: 5. 关于iOS模拟器 LayaNative支持iOS模拟器,但是由于模拟器运...
来源: Laya3.0_文档 发布时间: 20251010
...载Spine动画数据资源(json文件),注意一定要设置为Laya.Loader.SPINE类型,否则不会把json认为是SPINE资源 Laya.loader.load("girl2/mix-and-match-pro.json", Laya.Loader.SPINE).then(() => { // 添加Spine渲染器组件到精灵节点上 this.spine = this.owner.addCompon...
来源: Laya3.0_文档 发布时间: 20251128
...ER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Laya.loader.load(this.ApePath, Handler.create(this, this.setup)); } private setup(): void { this.normalizeApe(); this.makeRedApe(); this.grayingApe(); } private normalizeApe(): void { var originalApe: Sprite = this.createApe(); th...
来源: Laya2.0_文档 发布时间: 20210715
...I DocumentationAll Packages | All Classes | Index | Frames No Frames LoaderProperties | Methods | Events | Constants Packagelaya.netClasspublic class LoaderInheritanceLoader EventDispatcher Object Loader 类可用来加载文本、JSON、XML、二进制、图像等资源。 Public Properti...
来源: laya_api 发布时间: 20170929