大约有 2,853 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0079 秒)
Laya_社区(2305) Laya2.0_示例(116) Laya_示例(97) Laya3.0_api(93) Laya2.0_api(79) laya_api(68) Laya2.0_文档(68) Laya3.0_文档(27)
...) 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
...? sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 请问在layaIDE里,怎么调用微信小程序API 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. TextInput重写onFocus和onBlur事件监听不到 LayaAirIDE下如何使用mask? 微...
来源: Laya_社区 发布时间: 20170627
...载材质 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
..._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
...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
...t / 2); if (direction < 0) { this.aniBody.scaleX = -1; } else { this.aniBody.scaleX = 1; } } 每改变一个方向CurMern都爆涨50M这样(我的资源body,weapon,skillEff,wing也差不多50M),我在任务...
来源: Laya_社区 发布时间: 20170615
... // 获取动画的边界信息 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
...只是其中的一部分! 1.将附件中bin/js/component文件夹中的ScaleButton.js和ScaleButton.xml文件放到下图所示的位置: 2.完成第一个步骤之后切换到文档页面,将第4个大步骤完成 3.这时组件已经能够在UI面板正常显示了,这时先不要着急导...
来源: Laya_社区 发布时间: 20171115
...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
...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