大约有 2,994 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0085 秒)
Laya_社区(2435) Laya2.0_文档(172) Laya3.0_api(101) Laya_示例(79) Laya3.0_文档(70) Laya2.0_api(55) laya_api(42) Laya2.0_示例(40)
...件均已创建完毕,此方法只执行一次 */ onAwake(): void { Laya.loader.load(this.skins).then(() => { this.onCheckBoxSkinLoaded(); }); } private onCheckBoxSkinLoaded(e: any = null): void { let cb: Laya.CheckBox; for (let i: number = 0; i < this.COL_AMOUNT; ++i) { for (let j: number =...
来源: Laya3.0_文档 发布时间: 20251010
...Viewport : Viewport[read-only] 获取屏幕空间的左视口。 VRCamera loaded : Boolean[read-only] 获取是否已加载完成。 Sprite3D name : String节点名称。Node nearPlane : Number 获取近裁面。 BaseCamera needLeftViewport : Boolean[read-only] VRCamera needRightViewport : ...
来源: laya_api 发布时间: 20170929
...otate,可以看到旋转了。 顺便问一下,要想知道Sprite3D.load加载完成,只能继承并重写onAsynLoaded? -------------------------------------------------------------------------------------ok, 我检查了worldMatrix,确实在设置了localRotation之后就不再变化...
来源: Laya_社区 发布时间: 20170323
... '' + 'cheese' + '' + '' + ''; var sp: Laya.Sprite = new Laya.Sprite(); sp.loadImage(data, 0, 0, 200, 200); Laya.stage.addChild(sp); } } new LayaUISample; ``` 通过data来当做url传递给loadImage这个方法引擎就会帮我们加载并解码显示出来。loadImage这个方法中的参数不...
来源: Laya2.0_文档 发布时间: 20210715
...景色 Laya.stage.bgColor = "#ffffff"; //加载图集成功后,执行onLoad回调方法 Laya.loader.load([skin1,skin2], Handler.create(this, onLoaded)); } private function onLoaded():void { //创建一个CheckBox实例cb1 var cb1:CheckBox = new CheckBox(skin1); //添加到舞台上显示 Laya.stag...
来源: Laya2.0_文档 发布时间: 20210714
...创建vivo快游戏项目 index.js:829 data stderr: internal/modules/cjs/loader.js:968 throw err; ^ Error: Cannot find module 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\@vivo-minigame\cli\bin\mg' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15) at Function.Mo...
来源: Laya_社区 发布时间: 20200817
...tor3 setVector3ByIndex setVector4 setVector4ByIndex destroyUnusedResources load Constructors constructor new PBRSpecularMaterial(): PBRSpecularMaterial Overrides PBRMaterial.constructor Defined in laya/d3/core/material/PBRSpecularMaterial.ts:178 创建一个 PBRSpecularMaterial 实例。 Returns PBR...
来源: Laya3.0_api 发布时间: 20231102
...组件均已创建完毕,此方法只执行一次 onAwake(): void { Laya.loader.load([this.buttonSkin, this.clipSkin, this.bgSkin]).then( ()=>{ this.onSkinLoaded(); } ); } private onSkinLoaded(e: any = null): void { this.showBg(); this.createTimerAnimation(); this.showTotalSeconds(); this.creat...
来源: Laya3.0_文档 发布时间: 20251010
...载成功,导致的图片不显示 170*****199 • 2018-05-25 17:04 var loadData = [ { "url": 'res/atlas/main.atlas', "type":Laya.loader.ATLAS }, { "url": 'res/atlas/newUser.atlas', "type":Laya.loader.ATLAS }, { 'url': "res/atlas/role_skin.atlas", ...
来源: Laya_社区 发布时间: 20180525
...tor3 setVector3ByIndex setVector4 setVector4ByIndex destroyUnusedResources load Constructors constructor new BlinnPhongMaterial(): BlinnPhongMaterial Overrides Material.constructor Defined in laya/d3/core/material/BlinnPhongMaterial.ts:328 创建一个 BlinnPhongMaterial 实例。 Returns BlinnPhong...
来源: Laya3.0_api 发布时间: 20231115