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

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

1. laya.d3.physics.PhysicsSimulation [ 100%]

...istance:Number = 2147483647, collisonGroup:int, collisionMask:int):Boolean 射线检测第一个碰撞物体。 PhysicsSimulation  rayCastAll(ray:Ray, out:Vector.<HitResult>, distance:Number = 2147483647, collisonGroup:int, collisionMask:int):Boolean 射线检测所有碰撞的物体。 Phys...

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

2. laya.d3.utils.Picker [ 90%]

...rix:Matrix4x4, world:Matrix4x4, out:Ray):void[static] 计算鼠标生成的射线。 Picker  rayIntersectsTriangle(ray:Ray, vertex1:Vector3, vertex2:Vector3, vertex3:Vector3):Number[static] 计算射线和三角形碰撞并返回碰撞距离。 PickerConstructor DetailPicker()Constructorpublic fun...

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

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

...成包围球。 BoundSphere  intersectsRayDistance(ray:Ray):Number 判断射线是否与碰撞球交叉,并返回交叉距离。 BoundSphere  intersectsRayPoint(ray:Ray, outPoint:Vector3):Number 判断射线是否与碰撞球交叉,并返回交叉点。 BoundSphere  toDefault():voidBoundSp...

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

4. laya.d3.math.CollisionUtils [ 81%]

...ls  intersectsRayAndBoxRD(ray:Ray, box:BoundBox):Number[static] 空间中射线和包围盒是否相交 CollisionUtils  intersectsRayAndBoxRP(ray:Ray, box:BoundBox, out:Vector3):Number[static] 空间中射线和包围盒是否相交 CollisionUtils  intersectsRayAndPlaneRD(ray:Ray, plane:Plane,...

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

5. laya.d3.physics.HitResult [ 75%]

...public class HitResultInheritanceHitResult Object HitResult 类用于实现射线检测或形状扫描的结果。 Public Properties PropertyDefined By  collider : PhysicsComponent = null 发生碰撞碰撞组件。HitResult  hitFraction : Number = 0 碰撞分数。 HitResult  normal : Vec...

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