大约有 2,994 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)
Laya_社区(2435) Laya2.0_文档(172) Laya3.0_api(101) Laya_示例(79) Laya3.0_文档(70) Laya2.0_api(55) laya_api(42) Laya2.0_示例(40)
... 引擎版本1.7.18beta 我是用这样的方式加载的图集 Laya.loader.load([{url: "res/atlas/xxx1.json", type: Loader.ATLAS}, {url: "res/atlas/xxx2.json", type: Loader.ATLAS}, {url: "res/atlas/xxx3.json", type: Loader.ATLAS}], Handler.create(... 并且在...
来源: Laya_社区 发布时间: 20180505
...颜色 Laya.stage.bgColor = "#ffffff"; //加载资源成功后,执行onLoaded回调方法 Laya.loader.load(this.skin,Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ //创建一个Button实例 var btn:Laya.Button = new Laya.Button(this.skin); //将Button添加到舞台上 Laya....
来源: Laya2.0_文档 发布时间: 20210714
..., transform:Transform3D):void 设置渲染相关状态。 BaseMaterial _upload():void 上传材质。 BaseMaterial clone():* 克隆。 BaseMaterial cloneTo(destObject:*):void 克隆。 BaseMaterial load(url:String):ShurikenParticleMaterial[static] 加载手里剑粒子材质。 ShurikenParticl...
来源: laya_api 发布时间: 20170929
...nimations; skinAni.templet = Laya.AnimationTemplet.load(this.skinAniUrl[0]); skinAni.player.play(); } for (var i: number = 0, n: number = spirit3D._childs.length; i < n; i++) this.addSkinCompon...
来源: Laya_社区 发布时间: 20180724
...keleton); skeleton.pos(600,700); //通过加载直接创建动画 skeleton.load("res/spine/spineboy/spineboy.sk"); ``` 运行效果如动图8所示  (动图8)
来源: Laya2.0_文档 发布时间: 20210715
...keleton); skeleton.pos(600,700); //通过加载直接创建动画 skeleton.load("res/spine/spineboy/spineboy.sk"); ``` 运行效果如动图8所示  (动图8)
来源: Laya2.0_文档 发布时间: 20210715
...tage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; //预加载资源 Laya.loader.load([this.buttonSkin, this.clipSkin, this.bgSkin], Laya.Handler.create(this, this.onSkinLoaded)); } private onSkinLoaded(): void { this.showBg(); this.createTimerAnimation(); this.showTotalSeconds(); this.createContro...
来源: Laya2.0_文档 发布时间: 20210714
...olor = "#232628"; showApe(); })(); function showApe() { // 方法1:使用loadImage var ape = new Sprite(); Laya.stage.addChild(ape); ape.loadImage("../../res/apes/monkey3.png"); // 方法2:使用drawTexture Laya.loader.load("https://s2.d2scdn.com/2017/12/ ... ot%3B, Handler.create(this, function...
来源: Laya_社区 发布时间: 20171220
...tor3 setVector3ByIndex setVector4 setVector4ByIndex destroyUnusedResources load Constructors constructor new EffectMaterial(): EffectMaterial Overrides Material.constructor Defined in laya/d3/core/material/EffectMaterial.ts:57 创建一个 EffectMaterial 实例。 Returns EffectMaterial Properties _...
来源: Laya3.0_api 发布时间: 20231115
...问题请先登录 发起人 153*****169 相关问题 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) 【屏幕适配】在LayaAir上面是竖屏,为什么到微信开发工具中就是横屏,而且还被拉伸了 请问laya有没有地图编辑器工具? 分享:自定义...
来源: Laya_社区 发布时间: 20250816