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

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

21. 修复开放数据域组件WXOpenDataViewer鼠标不能拖动的问题 [ 67%]

...,转换成全局坐标             var p: Laya.Point = this.localToGlobal(new Laya.Point());             mat.translate(p.x, p.y);             var stage: Laya.Stage = Laya.stage;              mat.scale(stage._canvasTransform.getScaleX() * this.global...

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

22. [LayaAirIDE3]2d相机打包后问题 [ 63%]

...      const owner = this.owner as Laya.Sprite;         return owner.localToGlobal(new Laya.Point(0, 0));     }         // 新增:启用摇杆     public enable(): void {         this.isEnabled = true;         const owner = this.owner as Laya.Sprite;         owner.mouseEn...

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

23. Graphic.drawTextures,第二个参数 pos:Array — 绘制次数和坐标,怎么写啊, [ 61%]

...素的坐标 怎么获取对象的坐标 2.0 drawTexture color参数无效 localToGlobal坐标转换 drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 怎样获取浏览器地址传过来的GET参数 new Laya.Sprite();绘制图形以后,...

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

24. laya.display.Sprite [ 59%]

...多次调用loadImage绘制不同的图片,会同时显示。 Sprite  localToGlobal(point:Point, createNewPoint:Boolean = false):Point 把本地坐标转换为相对stage的全局坐标。 Sprite off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDi...

来源: laya_api 发布时间: 20170929

25. laya.display.Sprite [ 58%]

...(1.0会显示多个图片),x,y,width,height参数取消。 Sprite  localToGlobal(point:Point, createNewPoint:Boolean = false, globalNode:Sprite = null):Point 把本地坐标转换为相对stage的全局坐标。 Sprite off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):Ev...

来源: Laya2.0_api 发布时间: 20190513

26. Laya下怎么实现复制 [ 57%]

...og(e); }); </script>         代码中使用   var pt=this.lbtn.localToGlobal(new Laya.Point(this.lbtn.x,this.lbtn.y)); pt.x -=this.lbtn.width /2; pt.y -=120; var gd=GameData.userData; this.yqm.text=gd.invCode; this.dt.text="邀请次数 "+gd.invFriends+"/99" var iframe = Browser.document...

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

27. laya.html.dom.HTMLDivElement_API3.0 [ 55%]

... globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeInputChild removeSelf rend...

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

28. laya.media.SoundNode [ 55%]

...:多次调用loadImage绘制不同的图片,会同时显示。 Sprite localToGlobal(point:Point, createNewPoint:Boolean = false):Point 把本地坐标转换为相对stage的全局坐标。 Sprite off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventD...

来源: laya_api 发布时间: 20170422

29. laya.ui.DialogManager_API3.0 [ 55%]

... globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal lock off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once open parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repa...

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

30. laya.display.Sprite_API3.0 [ 55%]

... globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replac...

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