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

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

11. laya.d3.math.BoundBox_API3.0 [ 75%]

...neTo getCenter getCorners getExtent setCenterAndExtent toDefault createfromPoints merge Constructors constructor new BoundBox(min: Vector3, max: Vector3): BoundBox Defined in laya/d3/math/BoundBox.ts:17 创建一个 BoundBox 实例。 Parameters min: Vector3 包围盒的最小顶点。 max: Vector3 ...

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

12. 物理射线检测(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 74%]

...面的射线,进行射线检测。效果如(图5) ```typescript this.point.x = Laya.MouseManager.instance.mouseX; this.point.y = Laya.MouseManager.instance.mouseY; //产生射线 this.camera.viewportPointToRay(this.point,this._ray); //拿到射线碰撞的物体 this.scene.physicsSimulation.ra...

来源: Laya2.0_文档 发布时间: 20210715

13. 物理射线检测(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 74%]

...面的射线,进行射线检测。效果如(图5) ```typescript this.point.x = MouseManager.instance.mouseX; this.point.y = MouseManager.instance.mouseY; //产生射线 this._camera.viewportPointToRay(this.point,this._ray); //拿到射线碰撞的物体 this._scene.physicsSimulation.rayCast(th...

来源: Laya2.0_文档 发布时间: 20210715

14. laya.events.TouchInfo_API3.0 [ 68%]

...oved: boolean Defined in laya/events/InputManager.ts:594 Readonly pos pos: Point Implementation of ITouchInfo.pos Defined in laya/events/InputManager.ts:587 target target: Node Defined in laya/events/InputManager.ts:591 touchId touchId: number Implementation of ITouchInfo.touchId Defined in laya/eve...

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

15. laya.physics.EdgeCollider_API3.0 [ 68%]

... Accessors awaked density destroyed enabled friction hideFlags id isSensor points restitution x y Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new EdgeCollider():...

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

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

17. laya.events.InputManager_API3.0 [ 67%]

...hEnabled Accessors inst touchCount touchTarget touches Methods getNodeUnderPoint getSprite3DUnderPoint getSpriteUnderPoint handleKeys handleMouse handleTouch hitTest cancelClick getTouchPos hasKeyDown Constructors constructor new InputManager(): InputManager Defined in laya/events/InputManager.ts:48...

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

18. laya.physics.PolygonCollider_API3.0 [ 67%]

... Accessors awaked density destroyed enabled friction hideFlags id isSensor points restitution x y Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new PolygonCollider...

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

19. laya.physics.ChainCollider_API3.0 [ 67%]

...ssors awaked density destroyed enabled friction hideFlags id isSensor loop points restitution x y Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate Constructors constructor new ChainCollider()...

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

20. laya.d3.math.BoundFrustum_API3.0 [ 66%]

...ght top Methods clone cloneTo containsBoundBox containsBoundSphere containsPoint equalsBoundFrustum equalsObj getCorners getPlane intersects get3PlaneInterPoint getPlanesFromMatrix Constructors constructor new BoundFrustum(matrix: Matrix4x4): BoundFrustum Defined in laya/d3/math/BoundFrustum.ts:143 ...

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