大约有 196 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0059 秒)
...,转换成全局坐标 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
... 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
...素的坐标 怎么获取对象的坐标 2.0 drawTexture color参数无效 localToGlobal坐标转换 drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 怎样获取浏览器地址传过来的GET参数 new Laya.Sprite();绘制图形以后,...
来源: Laya_社区 发布时间: 20171227
...多次调用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
...(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
...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
... 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
...:多次调用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
... 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
... 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