大约有 125 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0032 秒)
Laya_社区(67) Laya3.0_api(26) Laya2.0_文档(21) Laya3.0_文档(4) Laya_示例(3) Laya2.0_示例(2) laya_api(1) Laya2.0_api(1)
...aN9RMQG7UvHFSteikatFJ1aJPvgzIE2reAHKj5gk1E5BJzQ2QSc0NkDfUTEB+00nVopOqRSdViz75jwHyhpoJyKRmUjMBuVHzBpAbNd90UrXopGrRSdWiT/5j1DwBZAIyqfkmIE+ouQEyqdl0UrXopGrRSdWiT75MzTepmYA8AeQJNW+omYDcqJmATGomIJOa33RSteikatFJ1aJPlgH5TUAmNd8EZFLzhpoJyKTmCTUTkEnNN51ULTqpWnRStQh/pGrJSdWik6pFJ1WLTqoWnVQtOqladFK16KRq0UnVopO...
来源: Laya_社区 发布时间: 20170416
... "#057AFB"); this.txt = new Text(); this.txt.text = "销毁"; this.txt.pos(75, 15); this.txt.fontSize = 25; this.txt.color = "#FF0000"; this.btn.addChild(this.txt); this.btn.pos(20, 160); Laya.stage.addChild(this.btn); //添加侦听 this.btn.on(Event.MOUSE_UP, this, this.onMouseUp); } /** * 鼠标...
来源: Laya2.0_示例 发布时间: 20241117
... "#057AFB"); this.txt = new Text(); this.txt.text = "销毁"; this.txt.pos(75, 15); this.txt.fontSize = 25; this.txt.color = "#FF0000"; this.btn.addChild(this.txt); this.btn.pos(20, 160); Laya.stage.addChild(this.btn); //添加侦听 this.btn.on(Event.MOUSE_UP, this, this.onMouseUp); }; /** * 鼠标...
来源: Laya_示例 发布时间: 20241117
...atic TiltedCube(sp: Laya.Sprite, cfg: any) { sp.graphics.drawPoly( 0, 0, [-75, -35, -85, 35, 75, 35, 85, -35], cfg.color, "#000000", 3 ); } public static ShotDiamond(sp: Laya.Sprite, cfg: any) { sp.graphics.drawPoly(0, 0, [0, -35, -65, 0, 0, 35, 65, 0], cfg.color, "#000000", 3); ...
来源: Laya_社区 发布时间: 20180211
...多边形 sp.graphics.drawPoly(30, 28, [0, 100, 50, 0, 100, 100, 75, 150, 25, 150], "#ffff00"); ``` 代码运行效果如下图所示: ![blob.png](img/3.png) (图3) 在修改的代码中,新增了D点坐标”75,150“与E点坐标”25,150“。通过将各个坐...
来源: Laya2.0_文档 发布时间: 20210715
...= mtl; sphere.transform.localPosition = new Vector3((x-rnum/2)*(w/rnum), 0.75, -2); } for ( x = 0; x < rnum; x++) { mtl = new PBRMaterial(); mtl.diffuseTexture = Texture2D.load('../../../../res/threeDimen/pbr/copper.png'); mtl.normalTexture = Texture2D.load('../../../../res/threeDimen/pbr/n1.png'); ...
来源: Laya_示例 发布时间: 20241117
...边形 this.sp.graphics.drawPoly(30, 28, [0, 100, 50, 0, 100, 100, 75, 150, 25, 150], "#ffff00"); ``` 代码运行效果如下图所示: ![blob.png](img/3.png) (图3) 在修改的代码中,新增了D点坐标”75,150“与E点坐标”25,150“。通过将各个...
来源: Laya2.0_文档 发布时间: 20210714
...ng)(图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
...tor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition) (at <5e6ebaa7d75c4d5399dc81ecead6b43f>:0) UnityEditor.DockArea.DrawView (UnityEngine.Rect dockAreaRect) (at <5e6ebaa7d75c4d5399dc81ecead6b43f>:0) UnityEditor.DockArea.OldOnGUI () (at <5e6ebaa7d75c4d5399dc81ecead6b43f>:0) Uni...
来源: Laya_社区 发布时间: 20240111
...多边形 sp.graphics.drawPoly(30, 28, [0, 100, 50, 0, 100, 100, 75, 150, 25, 150], "#ffff00"); ``` 代码运行效果如下图所示: ![blob.png](img/3.png) (图3) 在修改的代码中,新增了D点坐标”75,150“与E点坐标”25,150“。通过将各个坐...
来源: Laya2.0_文档 发布时间: 20210714