• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,200 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0055 秒)

391. 2.0label不改变文本内容,label颜色无法直接改变,1.0可以 [ 66%]

...       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

392. 3D性能优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 66%]

...并减少重复的外观,每个实例可以具有不同的属性,如 Color 或 Scale。绘制调用,呈现多个实例出现在框架调试器绘制网格(实例)。 GPU Instance需要硬件的支持,确保你当前所使用的硬件可以支持GPU Instance渲染 上图展示了一个GPU Ins...

来源: Laya3.0_文档 发布时间: 20251010

393. 请问,如何获得StandardMaterial,为什么transformUV始终是null [ 66%]

...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

394. laya.d3.core.material.Material_API3.0 [ 66%]

...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

395. 材质-BlinnPhong材质加载 [ 66%]

...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

396. 关于使用Idea以及Linux下使用AS语言开发的一点经验 [ 66%]

....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

397. 如何改变text部分字的颜色或两个不同颜色的text如何拼接看起来像一个文本? [ 66%]

...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

398. 微信浏览器,input输入完成后,游戏不能还原 [ 66%]

... 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

399. [LayaAirIDE3]2d相机打包后问题 [ 66%]

...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

400. laya.utils.Utils_API3.0 [ 66%]

... 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