大约有 205 项符合查询结果, 库内数据总量为 30,784 项。 (搜索耗时: 0.0028 秒)
...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
...面的射线,进行射线检测。效果如(图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
...面的射线,进行射线检测。效果如(图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
...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
... 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
...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
...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
... 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
...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
...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