大约有 228 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0078 秒)
Laya3.0_api(61) Laya2.0_api(57) laya_api(53) Laya_社区(32) Laya2.0_文档(13) Laya3.0_文档(6) Laya2.0_示例(4) Laya_示例(2)
...); Laya.stage.on(Laya.Event.MOUSE_MOVE,this,function() { sp.pos(Laya.stage.mouseX,Laya.stage.mouseY); }); ``` ![图片1.png](https://official.layabox.com/laya_data/Chinese/LayaAir_AS3/2D/advanced/PerformanceOptimization/CPU/img/1.png) (图1) 此时FPS显示30,并且在鼠标移动时,可以...
来源: Laya2.0_文档 发布时间: 20210714
...ics height hideFlags hitArea is3D isFocused isVisibility mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleMode scaleX scaleY scene screenMode scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _proc...
来源: Laya3.0_api 发布时间: 20231115
... checkHit() { //从屏幕空间生成射线 point.elements[0] = Laya.stage.mouseX; point.elements[1] = Laya.stage.mouseY; camera.viewportPointToRay(point, ray); //变化小飞龙的缩放和位置,并更新其模拟碰撞器 if (_scale >= 1) _scaleIndex = -1; else if (_scale ,最大检测距离30...
来源: Laya_示例 发布时间: 20241119
...屏幕中的空白处来移动模型如何实现呢?直接将Laya.stage.mouseX传递给模型的position测试不对哦,有没有什么方法可以将屏幕坐标转换为模型的坐标呢?其实最终是为了实现拖动效果。 2017-09-04 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20170904
...eY graphics height hideFlags hitArea href innerHTML is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache style texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addCh...
来源: Laya3.0_api 发布时间: 20231102
...graphics gray height hideFlags hitArea is3D left mask max min mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect showProgress sizeGrid skewX skewY skin stage staticCache texture tick timer toolTip top transform url value viewport visible width x...
来源: Laya3.0_api 发布时间: 20231115
...graphics gray height hideFlags hitArea is3D left mask max min mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scrollRect showProgress sizeGrid skewX skewY skin stage staticCache texture tick timer toolTip top transform url value viewport visible width x...
来源: Laya3.0_api 发布时间: 20231115
...lScaleY graphics height hideFlags hitArea innerHTML is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache style texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addCh...
来源: Laya3.0_api 发布时间: 20231102
...itArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY : Number[read-only] 返回鼠标在此对象坐标系上的 Y 轴坐标信息。 Sprite name : String节点名称。Node...
来源: laya_api 发布时间: 20170929
...aleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY rotation scaleX scaleY scene scrollRect skewX skewY stage staticCache texture timer transform url viewport visible width x y zOrder Methods _initialize _processActive addChild ad...
来源: Laya3.0_api 发布时间: 20231115