大约有 74 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0031 秒)
Laya_社区(29) Laya2.0_api(9) Laya3.0_api(9) laya_api(8) Laya2.0_示例(8) Laya_示例(7) Laya3.0_文档(2) Laya2.0_文档(2)
...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
...a_Aaron 赞同来自: sheen 硬算代码: vector3d为旋转轴ac轴, point3d为B点, 返回结果为D点 PointRoundVector( vector3d: Vector3, point3d: Vector3 , Aplha: number ): Vector3{ let u:number = point3d.x; let v:number = point3d.y; l...
来源: Laya_社区 发布时间: 20191218
...t MapLayer = Laya.MapLayer; import TiledMap = Laya.TiledMap; import Point = Laya.Point; import Rectangle = Laya.Rectangle; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class TiledMap_IsometricWorld { private tiledMap: TiledMap; private lay...
来源: Laya_社区 发布时间: 20201230
...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
...undSphere cloneTo(destObject:*):void 克隆。 BoundSphere createfromPoints(points:Vector.<Vector3>, out:BoundSphere):void[static] 从顶点队列生成包围球。 BoundSphere createFromSubPoints(points:Vector.<Vector3>, start:int, count:int, out:BoundSphere):void[static] 从...
来源: Laya2.0_api 发布时间: 20190513
... Laya.init(1920,1080); Laya.stage.scaleMode=Laya.Stage.SCALE_SHOWALL; var point=[];//声明一个集合,用于记录鼠标的位置 var img1=new Laya.Sprite();//声明第一个老婆 var img2=new Laya.Sprite();//声明第二个老婆 var lines=new Laya.Sprite();//声明全彩老婆的遮罩层 var...
来源: Laya_社区 发布时间: 20171018
... = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); var point = new Laya.Vector2(); var _outHitInfo = new Laya.RaycastHit(); function checkHit() { //从屏幕空间生成射线 point.elements[0] = Laya.MouseManager.instance.mouseX; point.elements[1] = Laya.MouseManager.instance.mo...
来源: Laya_示例 发布时间: 20241124
...let chainCollider = ground.addComponent(Laya.ChainCollider); chainCollider.points = "50,200,50,570,1050,570,1050,200"; for (let i = 1; i 0) { legCollider1.points = p1.concat(p2).concat(p3).join(","); legCollider2.points = [0, 0].concat(B2Math.SubVV(p5, p4)).concat(B2Math.SubVV(p6, p4)).join(","); } ...
来源: Laya2.0_示例 发布时间: 20241124
...画。给你 一个参考代码 export class CatmullRomSpline { private points: number[]; constructor(points: number[]) { if (points.length < 4 || points.length % 2 !== 0) { throw new Error("At least two points (four numbers) are required, and the total number of values must be even"); } this....
来源: Laya_社区 发布时间: 20241008
...。 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