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

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

2791. laya.d3.core.material.SkyPanoramicMaterial_API3.0 [ 42%]

...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

2792. laya.d3.utils.Utils3D的convert3DCoordTo2DScreenCoord这个接口api描述是不是错了? [ 41%]

...(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

2793. 3D场景销毁后,仍有引用存在,内存中场景及引用其的对象无法销毁 [ 41%]

...;          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

2794. 一个简单的跑酷曲面shader分享 [ 41%]

...问题请先登录 发起人 Joker先生 相关问题 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 分享:自定义事件派发与侦听(A页面派发 B页面侦听) 分享...

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

2795. 分享:自己个人开发的H5游戏《西游战》 [ 41%]

...回复问题请先登录 发起人 daohu 相关问题 分享:LayaAir下Loading进度条的制作(ActionScript 3.0) 【屏幕适配】在LayaAir上面是竖屏,为什么到微信开发工具中就是横屏,而且还被拉伸了 写个捕鱼游戏练练手 招聘:H5游戏开发 坐标:...

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

2796. Button属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 41%]

...颜色 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

2797. 模型与动画的导入使用 · LayaAir3.4 · 引擎文档 · LAYABOX [ 41%]

...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

2798. laya.d3.core.material.WaterPrimaryMaterial_API3.0 [ 41%]

...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

2799. 请大家帮助优化一下这个抛物线的代码 [ 41%]

...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

2800. [LayaAirIDE3]Laya3.2.1命令行打包,编译错误也生成成功 [ 41%]

...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