大约有 476 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0038 秒)
Laya_社区(251) Laya_示例(61) Laya3.0_api(39) Laya2.0_文档(33) Laya2.0_api(28) Laya2.0_示例(25) laya_api(21) Laya3.0_文档(18)
...a.stage.mouseY, p); this.layer.getScreenPositionByTilePos(Math.floor(p.x), Math.floor(p.y), p); this.sprite.pos(p.x, p.y); } private mapLoaded(): void { this.layer = this.tiledMap.getLayerByIndex(0); var ra...
来源: Laya_社区 发布时间: 20201230
... new laya.display.Sprite; con1.addChild(con); // con.scrollRect = new laya.maths.Rectangle(200,200,500,500); con.x = con.y = -200; var sp:laya.display.Sprite = new laya.display.Sprite; con.addChild(sp); sp.x = 250; sp.y = 300; sp.graphics.drawRect(-50,-100,100,100,"#ff0000"); sp.hitArea = new laya.m...
来源: Laya_社区 发布时间: 20180106
... p1.concat(p2).concat(p3).join(","); legCollider2.points = [0, 0].concat(B2Math.SubVV(p5, p4)).concat(B2Math.SubVV(p6, p4)).join(","); } else { legCollider1.points = p1.concat(p3).concat(p2).join(","); legCollider2.points = [0, 0].concat(B2Math.SubVV(p6, p4)).concat(B2Math.SubVV(p5, p4)).join(","); ...
来源: Laya2.0_示例 发布时间: 20250222
...了。 (图2) ```typescript //随机生成坐标值 var sX = Math.random() * 0.75 + 0.25; var sY = Math.random() * 0.75 + 0.25; var sZ = Math.random() * 0.75 + 0.25; //创建盒型MeshSprite3D var box = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(sX, sY, sZ))); //...
来源: Laya2.0_文档 发布时间: 20210715
... | Frames No Frames PointProperties | Methods | Constants Packagelaya.mathsClasspublic class PointInheritancePoint Object Point 对象表示二维坐标系统中的某个位置,其中 x 表示水平轴,y 表示垂直轴。 Public Properties PropertyDefined By x : Number该点的水平...
来源: laya_api 发布时间: 20170929
... Index | Frames No Frames BoundBoxProperties | Methods Packagelaya.d3.mathClasspublic class BoundBoxInheritanceBoundBox ObjectImplements laya.d3.core.IClone BoundBox 类用于创建包围盒。 Public Properties PropertyDefined By max : Vector3最大顶点。BoundBox min : Vector3最小...
来源: laya_api 发布时间: 20170929
...s | Index | Frames No Frames RandProperties | Methods Packagelaya.d3.mathClasspublic class RandInheritanceRand Object Rand 类用于通过32位无符号整型随机种子创建随机数。 Public Properties PropertyDefined By seed : uint 获取随机种子。 Rand seeds : Uint32Array获...
来源: laya_api 发布时间: 20170929
...s | Index | Frames No Frames RandProperties | Methods Packagelaya.d3.mathClasspublic class RandInheritanceRand Object Rand 类用于通过32位无符号整型随机种子创建随机数。 Public Properties PropertyDefined By seed : uint 获取随机种子。 Rand seeds : Uint32Array获...
来源: Laya2.0_api 发布时间: 20190513
... | Index | Frames No Frames PlaneProperties | Methods Packagelaya.d3.mathClasspublic class PlaneInheritancePlane Object Plane 类用于创建平面。 Public Properties PropertyDefined By distance : Number平面到坐标系原点的距离Plane normal : Vector3平面的向量Plane Pla...
来源: laya_api 发布时间: 20170929
... | Index | Frames No Frames PlaneProperties | Methods Packagelaya.d3.mathClasspublic class PlaneInheritancePlane Object Plane 类用于创建平面。 Public Properties PropertyDefined By distance : Number平面到坐标系原点的距离Plane normal : Vector3平面的向量Plane Pla...
来源: Laya2.0_api 发布时间: 20190513