大约有 205 项符合查询结果, 库内数据总量为 30,784 项。 (搜索耗时: 0.0028 秒)
...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
...sult Index Constructors constructor Properties collider hitFraction normal point succeeded Constructors constructor new CannonHitResult(): CannonHitResult Defined in laya/d3/physicsCannon/CannonHitResult.ts:17 创建一个 HitResult 实例。 Returns CannonHitResult Properties collider collider: Can...
来源: Laya3.0_api 发布时间: 20231102
...sult Index Constructors constructor Properties collider hitFraction normal point succeeded Constructors constructor new HitResult(): HitResult Defined in laya/d3/physics/HitResult.ts:17 创建一个 HitResult 实例。 Returns HitResult Properties collider collider: PhysicsComponent = null Defined i...
来源: Laya3.0_api 发布时间: 20231115
...之成单位长度。 Returns void Static createPlaneBy3P createPlaneBy3P(point0: Vector3, point1: Vector3, point2: Vector3, out: Plane): void Defined in laya/d3/math/Plane.ts:56 通过三个点创建一个平面。 Parameters point0: Vector3 第零个点 point1: Vector3 第一个点 point2: Vector3...
来源: Laya3.0_api 发布时间: 20231115
...ors center radius Methods clone cloneTo intersectsRayDistance intersectsRayPoint toDefault createFromSubPoints createfromPoints Constructors constructor new BoundSphere(center?: Vector3, radius?: number): BoundSphere Defined in laya/d3/math/BoundSphere.ts:30 创建一个 BoundSphere 实例。 Parame...
来源: Laya3.0_api 发布时间: 20231115
...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
.../ 初始地点北京,缩放系数15 this.map.centerAndZoom(new this.BMap.Point(116.32715863448607, 39.990912172420714), 15); // 创建标注物 this.marker = new this.BMap.Marker(new this.BMap.Point(0, 0)); this.map.addOverlay(this.marker); } init()函数初始化百度地图。关闭了大部分...
来源: Laya3.0_文档 发布时间: 20241014
...例。 Returns Picker Methods Static calculateCursorRay calculateCursorRay(point: Vector2, viewPort: Viewport, projectionMatrix: Matrix4x4, viewMatrix: Matrix4x4, world: Matrix4x4, out: Ray): void Defined in laya/d3/utils/Picker.ts:35 计算鼠标生成的射线。 Parameters point: Vector2 鼠标...
来源: Laya3.0_api 发布时间: 20231115
...剪面的射线,进行射线检测。效果如(图5) ```typescript point.x = MouseManager.instance.mouseX; point.y = MouseManager.instance.mouseY; //产生射线 _camera.viewportPointToRay(point,_ray); //拿到射线碰撞的物体 _scene.physicsSimulation.rayCast(_ray,outs); //如果碰撞到...
来源: Laya2.0_文档 发布时间: 20210715
...sionUtils Index Constructors constructor Methods boxContainsBox boxContainsPoint boxContainsSphere closestPointBoxPoint closestPointPlanePoint closestPointPointTriangle closestPointSpherePoint closestPointSphereSphere distanceBoxToBox distanceBoxToPoint distancePlaneToPoint distanceSphereToPoint dis...
来源: Laya3.0_api 发布时间: 20231115