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

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

2421. 使用滤镜、遮罩、或者绘制频率很高的时候回出现黑屏闪烁 [ 49%]

...) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信...

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

2422. 为什么laya.pathfinding.js里面的Grid,通过Laya.Grid竟然获取不到?有laya.pathfinding.js的使用教程吗?API中没有找到。 [ 49%]

...? sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 请问在layaIDE里,怎么调用微信小程序API 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. TextInput重写onFocus和onBlur事件监听不到 LayaAirIDE下如何使用mask? 微...

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

2423. Mesh模型能否动态合并? [ 49%]

...载材质 layaMonkey.meshRender.material = mat; layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //Laya.timer.frameLoop(1, this, function () { // layaMonkey.transform.rotate(this.rotation, false); //}...

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

2424. 2D物理-碰撞过滤器 [ 49%]

..._MIDDLE; Laya.Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; Laya.Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_AUTO; Laya.Laya.stage.bgColor = "#232628"; this.createHouse(); for (let i = 1; i mouseJoint).onMouseDown); Laya.stage.on(Event.MOUSE_UP, this, this.destoryJoint); Laya.stage.on(Event.MOUSE_O...

来源: Laya2.0_示例 发布时间: 20260303

2425. ProgressBar属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 49%]

...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(["res/ui/progressBar.png", "res/ui/progressBar$bar.png"], Handler.create(this, this.onLoadComplete)); } private onLoadComplete(): void { this.p...

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

2426. Animation 使用疑问 [ 49%]

...t / 2);         if (direction < 0) {             this.aniBody.scaleX = -1;         } else {             this.aniBody.scaleX = 1;         }     } 每改变一个方向CurMern都爆涨50M这样(我的资源body,weapon,skillEff,wing也差不多50M),我在任务...

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

2427. list 加载动画为什么实现的效果会错乱掉? [ 49%]

... // 获取动画的边界信息 var bounds = ani.getGraphicBounds(); ani.scale(80/bounds.width ,80/bounds.height) this.addChild(ani) } } Laya.class(Item1, "Item1", Box); var List = Laya.List; function setup(effList) { var list = new List(); list.itemRender = Item1; list.repeatX = 3; list.repeatY = 4...

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

2428. 关于自定义组件使用方式 [ 49%]

...只是其中的一部分! 1.将附件中bin/js/component文件夹中的ScaleButton.js和ScaleButton.xml文件放到下图所示的位置: 2.完成第一个步骤之后切换到文档页面,将第4个大步骤完成 3.这时组件已经能够在UI面板正常显示了,这时先不要着急导...

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

2429. Label属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 49%]

...V = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { createLabel("#FFFFFF", null).pos(30, 50); createLabel("#00FFFF", null).pos(290, 50); createLabel("#FFFF00", "#FFFFFF").pos(30,...

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

2430. laya.ui.OpenDataContextView_API3.0 [ 49%]

...ayWidth displayedInStage drawCallOptimize filters fps globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer t...

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