大约有 106 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0040 秒)
...tage.scaleMode != "noscale") { scaleY = divH / desH; scaleX = divW / desW; switch (Laya.stage.scaleMode) { case "noborder": if (scaleX > scaleY) { scaleY = scaleX; } else { scaleX = scaleY; } break; case "showall": if (scaleX < scaleY) { scaleY = scaleX; } else { scaleX = scaleY; } break; case...
来源: Laya_社区 发布时间: 20171205
... this._mapHeightHalf = this._map.height / 2; switch (layerData.type) { case "tilelayer": break; case "objectgroup": var tArray = layerData.objects; ...
来源: Laya_社区 发布时间: 20220627
...rivate function onClick(e:Event):void { switch(e.currentTarget) { case btn1: show(); break; case btn2: ...
来源: Laya_社区 发布时间: 20180425
... if (property instanceof Material) { switch (node.type) { case KeyFrameValueType.Float: property = property.getFloat(node.getPropertyByIndex(i)); ...
来源: Laya_社区 发布时间: 20240517
...awUnderline(align, x, y, lineIndex) { var lineWidth = this.underLineWidth; switch (align) { case 'center': x -= lineWidth / 2; break; case 'right': x -= lineWidth; break; case 'left': default: break; } y += this._charSize.height; this._graphics.drawLine(x, y, x + lineWidth, y, this.underColor || thi...
来源: Laya_社区 发布时间: 20180417
...n • 2018-01-18 16:38 我这里可以显示 那个导出插件有有一个switch to 3Dlayashader 你点一下 layali • 2018-01-18 16:45 @qian:好 layali • 2018-01-18 16:47 @qian:能加下qq吗,这里有点说不清楚的感觉 layali • 2018-01-18 16:48 @qian:我qq834777406 layali • 2018-0...
来源: Laya_社区 发布时间: 20180118
... var name1:String ; switch(dir1){ case 0:name1 = "stand4";break; case 1:name1 = "stand5";break; case 2:name1 = "stand6";break; ...
来源: Laya_社区 发布时间: 20170921
...onsole.log("update"); var c = Math.floor(Math.random()*4); console.log(c); switch(c) { case 0:text.color='red';break; case 1:text.color="blue";break; case 2:text.color ='black';break; case 3:text.color = 'green';break; case 4:text.color = "yellow";break; } console.log(text.color); } ```注意Props...
来源: Laya_社区 发布时间: 20180620
...seHandler); } /** * 鼠标响应事件处理 */ function mouseHandler(e) { switch (e.type) { case Event.MOUSE_DOWN: appendText("\n————————\n左键按下"); break; case Event.MOUSE_UP: appendText("\n左键抬起"); break; case Event.CLICK: appendText("\n左键点击\n—————...
来源: Laya_社区 发布时间: 20180205
... for (var name in msg) { if (protos[name]) { var proto:any = protos[name]; switch (proto.option) { case "optional": case "required": buffer.writeArrayBuffer(this.encodeTag(proto.type, proto.tag)); this.encodeProp(msg[name], proto.type, protos, buffer); break; case "repeated": if (!!msg[name] &&a...
来源: Laya_社区 发布时间: 20180119