大约有 1,200 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0055 秒)
Laya_社区(628) Laya3.0_api(207) Laya2.0_文档(119) Laya_示例(59) Laya3.0_文档(56) laya_api(46) Laya2.0_api(44) Laya2.0_示例(41)
... this.label.fontSize = 15; this.label.color = "#7CFC00"; this.label.pos(500, 400); this.label.width = 300; this.label.align = "center"; // this.label.stroke = 1; this.label.strokeColor = "#000000"; ...
来源: Laya_社区 发布时间: 20190514
...并减少重复的外观,每个实例可以具有不同的属性,如 Color 或 Scale。绘制调用,呈现多个实例出现在框架调试器绘制网格(实例)。 GPU Instance需要硬件的支持,确保你当前所使用的硬件可以支持GPU Instance渲染 上图展示了一个GPU Ins...
来源: Laya3.0_文档 发布时间: 20251010
...directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, -1); //加载网格 var layaMonkey = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/skinModel/LayaMonkey/A...
来源: Laya_社区 发布时间: 20171127
...fectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVecto...
来源: Laya3.0_api 发布时间: 20231115
...directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, -1); var layaMonkey = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonke...
来源: Laya_示例 发布时间: 20251209
....js" ,"//class laya.webgl.canvas.save.SaveTransform" ,saveBase,True,False) Color = getcontextbyprobe(str(sys.argv[1])+"/bin/h5/laya.js","*<code>Color</code> 是一个颜色值处理类。","Color._COLODID=1;",startoffset=-7 ,endoffset=24,backuporiginalfile=False) deletetextfromfile(str(s...
来源: Laya_社区 发布时间: 20170418
...r htmlDiv:HTMLDivElement=new HTMLDivElement(); htmlDiv.innerHTML='<span color="#FF0000">哈哈哈</span><span color="#FFFF00">嘻嘻嘻</span>'; Laya.stage.addChild(htmlDiv); 2017-05-05 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请...
来源: Laya_社区 发布时间: 20170505
... some word..."; // 设置字体样式 inputText.bold = true; inputText.bgColor = "#666666"; inputText.color = "#ffffff"; inputText.fontSize = 20; scene.addChild(inputText); var tip1 = new Laya.Label(); tip1.bgColor = "#666666"; tip1.color = "#ffffff"; tip1.fontSize = 20; tip1.x = Laya.stage.widt...
来源: Laya_社区 发布时间: 20200223
...nXLabel.text = `minX: ${this.playerScript.mapMinX}`; minXLabel.color = "#FFFFFF"; minXLabel.pos(this.playerScript.mapMinX, this.playerScript.mapMinY - 20); this.owner.addChild(minXLabel); const maxXLabel = new Laya.Text(); maxXLabel.text ...
来源: Laya_社区 发布时间: 20251125
... Class Utils Utils 是工具类。 Hierarchy Utils Index Methods fromStringColor getBaseName getFileExtension getGID parseInt replaceFileExtension toAngle toHexColor toRadian Methods Static fromStringColor fromStringColor(value: string): number Defined in laya/utils/Utils.ts:40 Parameters value: str...
来源: Laya3.0_api 发布时间: 20231115