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

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

1221. 加载SPINE骨骼动画资源无法为png指定版本号 [ 46%]

...口加载png 代码如下 var templet:Templet= new Templet(); templet.on(Event.COMPLETE, this, loadPlaneSkComplete); templet.loadAni("a.sk?v=1"); 出现的问题: 加载a.sk?v=1这个文件后,底层自动加载a.png 在chrome的开发者工具中看到,这个a.png是没有版本号的   2018...

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

1222. laya.ui.UIGroup_API3.0 [ 46%]

...ild addChildAt addChildren addComponent addComponentInstance addItem bubbleEvent callLater clearTimer contains customRender delItem destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildInd...

来源: Laya3.0_api 发布时间: 20231115

1223. 关于Laya.Quaternion.createFromAxisAngle旋转角度不正确的问题 [ 46%]

...on图集加载问题 3D模型tween旋转 关于apk打包动画卡的问题 event自定义事件的问题 问题状态 最新活动: 2019-12-30 16:01 浏览: 1385 关注: 2 人 156*****551 • 2019-12-31 13:28 多谢!

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

1224. 寻路系统(ActionScript-3D基础(AS3)-LayaAir3D之高级应用) [ 45%]

...3D世界的路径数据 ```typescript //监听鼠标抬起 Laya.stage.on(Event.MOUSE_UP, this, function():void { index = 0; //获取每次生成路径 getGridIndex(path[curPathIndex % pointCount].x, path[curPathIndex++ % pointCount].z, startPoint); getGridIndex(path[nextPathIndex % pointCount].x,pat...

来源: Laya2.0_文档 发布时间: 20210714

1225. laya.d3.core.scene.Scene3D_API3.0 [ 45%]

...ra addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getC...

来源: Laya3.0_api 发布时间: 20231115

1226. sprite做的按钮点击无反应? [ 45%]

...F", "center"); //dialog_mc.addChild(btn); Laya.stage.addChild(btn); btn.on(Event.CLICK, this, function(){ alert("点击"); }); 点击btn并未弹出alert,我也设置了btn的size,这是为什么? 2017-01-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

1227. laya.ui.TextInput_API3.0 [ 45%]

...th addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getCo...

来源: Laya3.0_api 发布时间: 20231115

1228. 自定义shader-地形shader [ 44%]

..., 20, -30), false); camera.addComponent(CameraMoveScript); scene.once(Laya.Event.HIERARCHY_LOADED, this, function () { setCustomMaterial(scene.getChildAt(2)); }); function setCustomMaterial(spirit3D) { if (spirit3D instanceof Laya.MeshSprite3D) { var meshSprite3D = spirit3D; var customMaterial = new...

来源: Laya_示例 发布时间: 20260303

1229. 竖屏游戏实现背景缩放铺满全屏,UI相对高度等比较缩放,UI位置始终按照竖屏比例显示在屏幕中间 [ 44%]

...宽高是多少,Laya.stage.scaleMode使用哪种模式,Laya.stage.on(Event.RESIZE, this, onResize);如何处理比例问题? 2018-03-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Monica - 知识达人 ...

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

1230. 我在Layasample主类中,检测键盘按下并输出一切正常,可是放到其他类里面则能检测到按键按下,却一直输出undefined [ 44%]

... {         GameStart.super(this);         Laya.stage.on(Laya.Event.KEY_DOWN,LayaSample,Test);     }     function Test(e){         console.log(e.keycode);             }   按下按键后一直输出undefined,在入口类里面却能输出对应按键编号,是...

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