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

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

171. Label属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 78%]

...n | 文本的垂直对齐方式。可选值有top、middle、bottom。 | | color | 文本的颜色值。默认为黑色。 | | bgColor | 文本背景颜色。 | | font | 文本的字体名称。 | | fontSize | 文本的字体大小。 | | bold | 文本是否为粗体字显示。 | | italic | 文本...

来源: Laya2.0_文档 发布时间: 20210715

172. 请问HtmlDivElement控件在innerHTML中有<div>标签的情况下获取实际宽高为0的问题? [ 78%]

...lignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { createParagraph(); // 代码创建 showExternalHTML(); // 使用外部定义的html } function createParagraph() { var p = new HTMLDivElement(); Laya.stage.addChild(p); p.s...

来源: Laya_社区 发布时间: 20170314

173. HTMLDivElement 对齐问题! [ 78%]

... 0 1 分享 微博 QZONE 微信 熊猫大侠 赞同来自: &lt;span style="color:#AA7850;font-weight:bold;font:24px SimHei"&gt;对单个目标造成&lt;/span&gt; &lt;span style="color:#FF0000;font-weight:bold;font:24px SimHei"&gt;350%&lt;/span&gt; &lt;span style="color:#AA7850;font-weight:bold;font:...

来源: Laya_社区 发布时间: 20180502

174. 3D灯光与阴影 · LayaAir3.3 · 引擎文档 · LAYABOX [ 78%]

...ight后,在Inspector属性面板中会有如下几个属性 (图2-3) Color:点光源的颜色 (图2-4) Intensity:点光源的强度 (图2-5) Range:设置点光源的范围,相当于点光源的照射范围,数值越大,光照范围越大。 (图2-6) Lightmap Bake Type...

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

175. laya.d3.core.material.BaseMaterial [ 78%]

...值。 BaseMaterial  blend : int透明混合。BaseMaterial  blendConstColor : Vector4混合常量颜色。BaseMaterial  blendEquation : int混合方程。BaseMaterial  blendEquationAlpha : intAlpha混合方程。BaseMaterial  blendEquationRGB : intRGB混合方程。BaseMaterial  cull : ...

来源: laya_api 发布时间: 20170929

176. laya.d3.graphics.Vertex.VertexMesh [ 78%]

...atic] VertexMesh  MESH_BLENDWEIGHT0 : int = 6[static] VertexMesh  MESH_COLOR0 : int = 1[static] VertexMesh  MESH_MVPMATRIX_ROW0 : int = 12[static] VertexMesh  MESH_MVPMATRIX_ROW1 : int = 13[static] VertexMesh  MESH_MVPMATRIX_ROW2 : int = 14[static] VertexMesh  MESH_MVPMATRIX_ROW3 : int =...

来源: Laya2.0_api 发布时间: 20190513

177. 滤镜-颜色滤镜 [ 78%]

...高效。let apePath = "res/apes/monkey2.png", apeTexture; class Filters_Color { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; La...

来源: Laya2.0_示例 发布时间: 20251209

178. 富文本排版问题 [ 78%]

...ing = "";   htmlStr += "&lt;span style='font-weight:bold;font:24px Arial' color='#fafbf9'&gt;累计进行关卡&lt;/span&gt;"; htmlStr += "&lt;span style='font-weight:bold;font:48px Arial;valign:top' color='#84ED4A'&gt;3&lt;/span&gt;"; htmlStr += "&lt;span style='font-weight:bold;font:24px Arial' c...

来源: Laya_社区 发布时间: 20180718

179. flag的问题 [ 78%]

...36, 640, WebGL);                       Laya.stage.bgColor = "#ffffff";                   //以500毫秒的时间间隔播放颜色切换的矩形         Laya.timer.loop(500, this, createRect);               })();       function ...

来源: Laya_社区 发布时间: 20170510

180. subtst这个问题还没解决把 [ 78%]

...新的报错    请你们自己检测一下   我举个例子:   let color='#FFFFFF'   原生: color.substr(0,0) -&gt; ''; String.prototype.substr = Laya.__substr : color.substr(0,0) -&gt; '#FFFFFF' 2017-04-10 0 0 分享 微博 QZONE 微信 cuixueying 赞同来自: 这个方法我们是通...

来源: Laya_社区 发布时间: 20170410