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

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

1. laya.maths.Point_API3.0 [ 100%]

...c/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Point" Point Class Point Point 对象表示二维坐标系统中的某个位置,其中 x 表示水平轴,y 表示垂直轴。 Hierarchy Point Index Constructors constructor Properties x y TEMP Methods copy distance normal...

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

2. laya.maths.Point [ 92%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames PointProperties | Methods | Constants Packagelaya.mathsClasspublic class PointInheritancePoint Object Point 对象表示二维坐标系统中的某个位置,其中 x 表示水平轴,y 表示垂直轴。 Public Properti...

来源: laya_api 发布时间: 20170929

3. laya.maths.Point [ 91%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames PointProperties | Methods | Constants Packagelaya.mathsClasspublic class PointInheritancePoint Object Point 对象表示二维坐标系统中的某个位置,其中 x 表示水平轴,y 表示垂直轴。 Public Properti...

来源: Laya2.0_api 发布时间: 20190513

4. laya.maths.Matrix_API3.0 [ 85%]

...e concat copyTo destroy getScaleX getScaleY identity invert invertTransformPoint recover rotate scale setTo setTranslate skew toString transformPoint transformPointN translate create mul mul16 Constructors constructor new Matrix(a?: number, b?: number, c?: number, d?: number, tx?: number, ty?: numbe...

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

5. 点碰撞检测bug [ 84%]

点碰撞检测bug 使用了PointTEMP获取全局点,是引用的方式。然后后面的this.getSelfBounds()中使用了Temp,改变了TEMP 附件 : --> 2017-10-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...

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

6. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 78%]

... function getScreenPositionByTilePos(tileX:Number, tileY:Number, screenPos:Point = null):void {             if (screenPos) {                 switch (_map.orientation) {                 case TiledMap.ORIENTATION_ISOMETRIC:                      screenPo...

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

7. 2D寻路 · LayaAir3.3 · 引擎文档 · LAYABOX [ 74%]

...= 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_文档 发布时间: 20250310

8. laya.maths.Matrix [ 74%]

...invert():Matrix 执行原始矩阵的逆转换。 Matrix  invertTransformPoint(out:Point):Point 对指定的点应用当前矩阵的逆转化并返回此点。 Matrix  mul(m1:Matrix, m2:Matrix, out:Matrix):Matrix[static] 将指定的两个矩阵相乘后的结果赋值给指定的输出对象。...

来源: laya_api 发布时间: 20170929

9. laya.maths.Matrix [ 73%]

...invert():Matrix 执行原始矩阵的逆转换。 Matrix  invertTransformPoint(out:Point):Point 对指定的点应用当前矩阵的逆转化并返回此点。 Matrix  mul(m1:Matrix, m2:Matrix, out:Matrix):Matrix[static] 将指定的两个矩阵相乘后的结果赋值给指定的输出对象。...

来源: Laya2.0_api 发布时间: 20190513

10. laya.d3.math.Bounds_API3.0 [ 67%]

...etCorners getExtent getMax getMin setCenter setExtent setMax setMin containPoint merge Constructors constructor new Bounds(min?: Vector3, max?: Vector3): Bounds Defined in laya/d3/math/Bounds.ts:130 创建一个 Bounds 实例。 Parameters Optional min: Vector3 min 最小坐标 Optional max: Vector3...

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