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

大约有 186 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0076 秒)

11. 如何动态获取image的宽高? [ 60%]

...oint((this.width*this.scaleX)/2,(this.height*this.scaleY)/2); //thisp=this.globalToLocal(this.localToGlobal(thisp)); //trace(thisp.x,thisp.y,"dddddddd") var tf:Matrix=new Matrix(); tf.translate(-thisp.x,-thisp.y); __jd+=jd; tf.rotate(__jd); tf.translate(thisp.x,thisp.y); var otf:Matrix=new Matrix();...

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

12. 帮忙看看Texture类getPixels内存泄漏的问题。 [ 59%]

...(Sprite(point)); }else if(point is Point) { p = point; } var pp:Point = mc.globalToLocal(Point(p)); return pp; } private function localToGlobal(mc:Sprite):Point { var p:Point = new Point(); p.x = mc.x; p.y = mc.y; var pp:Point = (mc.parent as Sprite).localToGlobal(p); return pp; } } } 2018-03-02 添...

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

13. laya.d3.core.Transform3D_API3.0 [ 56%]

...thods event getForward getFrontFaceValue getRight getUp getWorldLossyScale globalToLocal hasListener localToGlobal lookAt objLookat off offAll offAllCaller on once rotate rotationTo setWorldLossyScale toDir toLocalNormal translate Properties Static tmpVec3 tmpVec3: Vector3 = new Vector3() Defined in...

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

14. laya.html.dom.HTMLIframeElement_API3.0 [ 52%]

...ounds get_height get_scaleX get_scaleY get_transform get_visible get_width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild remov...

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

15. laya.html.dom.HTMLDivElement_API3.0 [ 51%]

...ounds get_height get_scaleX get_scaleY get_transform get_visible get_width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild remov...

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

16. laya.physics.PhysicsDebugDraw_API3.0 [ 51%]

...chorY get_height get_scaleX get_scaleY get_transform get_visible get_width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild remov...

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

17. laya.map.TileAniSprite_API3.0 [ 51%]

...chorY get_height get_scaleX get_scaleY get_transform get_visible get_width globalToLocal hasHideFlag hasListener hide hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild ...

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

18. 关于2d内的坐标转换问题 [ 50%]

...int(globalPoint:Laya.Point,localSp:Laya.Sprite):Laya.Point{ return localSp.globalToLocal(globalPoint,true); }globalPoint: 绿色框的坐标 -- 舞台中央坐标(Laya.stage.width*.5,Laya.stage.height*.5) localSp:黑框容器对象 直接带入上面方法即可,中央的坐标你只知道相...

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

19. laya.media.SoundNode_API3.0 [ 50%]

...chorY get_height get_scaleX get_scaleY get_transform get_visible get_width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot play pos reCache removeChild ...

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

20. laya.map.GridSprite_API3.0 [ 50%]

...chorY get_height get_scaleX get_scaleY get_transform get_visible get_width globalToLocal hasHideFlag hasListener hide hitTestPoint initData isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache rem...

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