大约有 188 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0062 秒)
...(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
...thods event getForward getFrontFaceValue getRight getUp getWorldLossyScale globalToLocal hasListener localToGlobal lookAt objLookat off offAll offAllCaller on once rotate rotationTo setWorldLossyScale toDir toLocalNormal translate Constructors constructor new NativeTransform3D(owner: Sprite3D): Nati...
来源: Laya3.0_api 发布时间: 20231115
...关的链接 提交 2 个回复 leisure 赞同来自: bingbing 看文档 globalToLocal localToGlobal () 2018-02-18 1 0 分享 微博 QZONE 微信 bingbing 赞同来自: 怎么知道是哪个类的哪个方法呢? 2018-02-21 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折...
来源: Laya_社区 发布时间: 20180217
...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
...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
...是等比缩放的,但新的问题来了。这时通过localToGlobal或globalToLocal转换坐标时会产生新的问题,导致得不到正常的坐标转换。 后来通过各种补丁,终于把这个坐标转换问题搞定了,以为万事大吉了,这时发现,如果设计长宽...
来源: Laya_社区 发布时间: 20170804
...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
...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
...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
...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