大约有 567 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0050 秒)
Laya_社区(262) Laya3.0_api(90) Laya2.0_api(84) laya_api(67) Laya2.0_文档(32) Laya3.0_文档(11) Laya2.0_示例(11) Laya_示例(10)
...TY 里的 Filter Mode 采样模式 个人想将部分贴图 用Point方式采样 不知道改如果编写 附件 : --> 2020-02-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来...
来源: Laya_社区 发布时间: 20200222
...例。 Returns Picker Methods Static calculateCursorRay calculateCursorRay(point: Vector2, viewPort: Viewport, projectionMatrix: Matrix4x4, viewMatrix: Matrix4x4, world: Matrix4x4, out: Ray): void Defined in laya/d3/utils/Picker.ts:35 计算鼠标生成的射线。 Parameters point: Vector2 鼠标...
来源: Laya3.0_api 发布时间: 20231115
...度。 Returns DrawCircleCmd drawCurves drawCurves(x: number, y: number, points: any[], lineColor: any, lineWidth?: number): DrawCurvesCmd Inherited from Graphics.drawCurves Defined in laya/display/Graphics.ts:516 绘制一系列曲线。 Parameters x: number 开始绘制的 X 轴位置。 y: number...
来源: Laya3.0_api 发布时间: 20231115
...ayaAir3]3.3.0.beta.2 2d刚体position问题 刚体的position类型是Laya.Point,可以给其赋值new Laya.Point(),但是无法获取到position的x和y。 另外刚体position的值也有点怪,和所挂载Sprite的xy相对于父物体坐标不同,更像是相对于屏幕坐标。 假设父...
来源: Laya_社区 发布时间: 20250124
...本地坐标转换 public function global2Content(p:Point):Point { return this.cab.globalToContent(p); } ]]> </mx:Script> </mx:Canvas> 转换过程 mx.containers.Canvas报...
来源: Laya_社区 发布时间: 20180202
...ToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_scaleY get_transform get_visible get...
来源: Laya3.0_api 发布时间: 20231115
...= pos; let paths = agent.getCurrentPath(); if (paths.length >= 2) { let points: any = [] paths.forEach((point) => { points.push(point.pos.x, point.pos.z); }); this._temp.graphics.drawLines(0, 0, points, "#00000030", 5); } }) this.hit.pos(pos.x, pos.y); } } 这样,鼠标点击的位置就是...
来源: Laya3.0_文档 发布时间: 20250214
...改的地方,转换成全局坐标 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() *...
来源: Laya_社区 发布时间: 20190822
... 开始绘制的 Y 轴位置。 * @param points 多边形的点集合。 * @param fillColor 填充颜色,或者填充绘图的渐变对象。 * @param lineColor (可选)边框颜色,或者填充绘图的渐变...
来源: Laya_社区 发布时间: 20180416
...这个 //从屏幕空间生成射线 point.elements[0] = MouseManager.instance.mouseX; point.elements[1] = MouseManager.instance.mouseY; 或者你直接就这样写,这种写法,可以适配各种模式。 2017-07-21 1 0 分享 微博 QZONE...
来源: Laya_社区 发布时间: 20170721