大约有 2,994 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0301 秒)
Laya_社区(2435) Laya2.0_文档(172) Laya3.0_api(101) Laya_示例(79) Laya3.0_文档(70) Laya2.0_api(55) laya_api(42) Laya2.0_示例(40)
...tor3 setVector3ByIndex setVector4 setVector4ByIndex destroyUnusedResources load Constructors constructor new SkyPanoramicMaterial(): SkyPanoramicMaterial Overrides Material.constructor Defined in laya/d3/core/material/SkyPanoramicMaterial.ts:73 创建一个 SkyPanoramicMaterial 实例。 Returns Sky...
来源: Laya3.0_api 发布时间: 20231115
...(0,0) var mesh:MeshSprite3D = scene.addChild(new MeshSprite3D(Mesh.load("sphere-Sphere001.lm"))) as MeshSprite3D; Utils3D.convert3DCoordTo2DScreenCoord(translate, convertTranslate); mesh.transform.localPosition = convertTranslate; 这里明明就是将一个屏幕坐标...
来源: Laya_社区 发布时间: 20161215
...; this.scene.addChild(this.camera); Laya.loader.create("res/scene_Effect/Conventional/Effect_zhujue_attack.lh", Laya.Handler.create(this, () => { let item = Laya.loader.getRes("res/scene_Effect/Conventional/Effect_zhujue_attack.lh...
来源: Laya_社区 发布时间: 20191102
...问题请先登录 发起人 Joker先生 相关问题 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 分享:自定义事件派发与侦听(A页面派发 B页面侦听) 分享...
来源: Laya_社区 发布时间: 20201009
...回复问题请先登录 发起人 daohu 相关问题 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) 【屏幕适配】在LayaAir上面是竖屏,为什么到微信开发工具中就是横屏,而且还被拉伸了 写个捕鱼游戏练练手 招聘:H5游戏开发 坐标:...
来源: Laya_社区 发布时间: 20170816
...颜色 Laya.stage.bgColor = "#ffffff"; //加载资源成功后,执行onLoaded回调方法 Laya.loader.load(skin, Handler.create(this, onLoaded)); } private function onLoaded():void { //创建一个Button实例 var btn:Button = new Button(skin); //将Button添加到舞台 Laya.stage.addChild(btn); ...
来源: Laya2.0_文档 发布时间: 20210715
...rt"); //加载指定的模型预制体,并添加到Scene3D场景内 Laya.loader.load("girl/girl.lh").then(res => { let girl : Laya.Sprite3D = res.create(); this.scene3D.addChild(girl); //获得Animator this._animator = girl.getComponent<Laya.Animator>(Laya.Animator); }); this.on( Laya.Eve...
来源: Laya3.0_文档 发布时间: 20251010
...tor3 setVector3ByIndex setVector4 setVector4ByIndex destroyUnusedResources load Constructors constructor new WaterPrimaryMaterial(): WaterPrimaryMaterial Overrides Material.constructor Defined in laya/d3/core/material/WaterPrimaryMaterial.ts:98 Returns WaterPrimaryMaterial Properties _id _id: number...
来源: Laya3.0_api 发布时间: 20231115
...Ball.cached){ Ball.cached = true; this.body = new Laya.Sprite(); this.body.loadImage("war/ball.png"); this.body.pivot(12,12); } this.addChild(this.body); Laya.timer.frameLoop(1,this,this.animate); } private animate(e):void{ this.body.rotation += 10; } } class Main{ private ball:Ball; private target...
来源: Laya_社区 发布时间: 20171108
...re-3.8.js,bin://engine/libs/laya.bullet.js,bin://engine/libs/laya.box2D.js loadLibs: 63.001220703125 ms initLayaStage: 112.833984375 ms installPackages: 0.740966796875 ms scan: 3.616943359375 ms add main_scene.ls add ui/ui.atlascfg add ../src/BuildScript.ts add ../src/Main.ts add ../src/storage/Stor...
来源: Laya_社区 发布时间: 20250102