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

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

1. laya.maths.Point [ 100%]

...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

2. laya.d3.math.Plane [ 96%]

...ctor3, d:Number = 0) 创建一个 Plane 实例。 Plane  createPlaneBy3P(point1:Vector3, point2:Vector3, point3:Vector3):Plane[static] 创建一个 Plane 实例。 Plane  normalize():void 更改平面法线向量的系数,使之成单位长度。 PlaneProperty Detaildistancepropertypublic var ...

来源: laya_api 发布时间: 20170929

3. laya.d3.math.BoundSphere [ 93%]

...undSphere  cloneTo(destObject:*):void 克隆。 BoundSphere  createfromPoints(points:Array, out:BoundSphere):void[static] 从顶点队列生成包围球。 BoundSphere  createFromSubPoints(points:Array, start:int, count:int, out:BoundSphere):void[static] 从顶点的子队列生成包围球。...

来源: laya_api 发布时间: 20170929

4. laya.d3.math.BoundBox [ 89%]

...。 BoundBox  cloneTo(destObject:*):void 克隆。 BoundBox  createfromPoints(points:Array, out:BoundBox):void[static] 从顶点生成包围盒。 BoundBox  getCorners(corners:Array):void 获取包围盒的8个角顶点。 BoundBox  merge(box1:BoundBox, box2:BoundBox, out:BoundBox):void[stat...

来源: laya_api 发布时间: 20170929

5. laya.d3.math.OrientedBoundBox [ 87%]

...是否包含空间中另一OBB包围盒 OrientedBoundBox  containsLine(point1:Vector3, point2:Vector3):int 该包围盒是否包含空间中一条线 OrientedBoundBox  containsOrientedBoundBox(obb:OrientedBoundBox):int 该包围盒是否包含空间中另一OBB包围盒 OrientedBoundBox  conta...

来源: laya_api 发布时间: 20170929

6. laya.maths.Matrix [ 87%]

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

来源: laya_api 发布时间: 20170929

7. laya.d3.math.BoundFrustum [ 83%]

...置关系。返回-1,包涵;0,相交;1,不相交 BoundFrustum  containsPoint(point:Vector3):int 与点的位置关系。返回-1,包涵;0,相交;1,不相交 BoundFrustum  equalsBoundFrustum(other:BoundFrustum):Boolean 判断是否与其他锥截体相等。 BoundFrustum  equalsObj(obj:Object):...

来源: laya_api 发布时间: 20170929

8. laya.d3.math.Collision [ 83%]

...] 空间中包围盒是否包含另一个包围盒 Collision  boxContainsPoint(box:BoundBox, point:Vector3):int[static] 空间中包围盒是否包含另一个点 Collision  boxContainsSphere(box:BoundBox, sphere:BoundSphere):int[static] 空间中包围盒是否包含另一个包围球 Collision...

来源: laya_api 发布时间: 20170929