大约有 298 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0079 秒)
Laya_社区(77) Laya3.0_api(62) Laya2.0_api(58) laya_api(54) Laya2.0_文档(19) Laya2.0_示例(11) Laya_示例(11) Laya3.0_文档(6)
...eight + 75)/2); var ptTo:Point = new Point(Laya.stage.mouseX,Laya.stage.mouseY); this.m_MovDistanceX = ptTo.x - ptStart.x; this.m_MovDistanceY = ptTo.y - ptStart.y; if (this.m_MovDistanceX >0...
来源: Laya_社区 发布时间: 20170921
...lse ); } private onMouseDown() { this.point.x = Laya.MouseManager.instance.mouseX; this.point.y = Laya.MouseManager.instance.mouseY; //產生射线 this.camera.viewportPointToRay(this.point, this._ray); //拿到射线碰撞的物体 this.scene.physicsSimulation.rayCast(this._ray, this._outHitResult)...
来源: Laya_社区 发布时间: 20200917
...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
...Area(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY : Number[read-only] 返回鼠标在此对象坐标系上的 Y 轴坐标信息。 Sprite name : String节点名称。Nod...
来源: Laya2.0_api 发布时间: 20190513
...Area(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY : Number[read-only] 返回鼠标在此对象坐标系上的 Y 轴坐标信息。 Sprite name : String节点名称。Nod...
来源: laya_api 发布时间: 20170929
...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
...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
...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
...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
... //从屏幕空间生成射线 point.elements[0] = MouseManager.instance.mouseX; point.elements[1] = MouseManager.instance.mouseY; camera.viewportPointToRay(point, ray); //射线检测获取所有检测碰撞到的物体 Physics.rayCastAll(ray, _outHitAllInfo, 500, 0); 这...
来源: Laya_社区 发布时间: 20180120