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

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

251. [LayaAirIDE 2.0]TextInput真机输入时显示蓝色字,求解 [ 72%]

...false, false]; private init() { // 设置背景色为场景高度 this.box_color_bg.height = Laya.stage.height; } onEnable() { this.init(); // 判定是注册还是忘记密码 if (GameData.I.isReg) { this._regMode(); } else { this._forgetMode(); } // 添加取消事件 this.lb_cancel.on(Laya.Event....

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

252. 文本-复杂的文本样式 [ 72%]

...lignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; createText(); })(); function createText() { var txt = new Text(); //给文本的text属性赋值 txt.text = "Layabox是性能最强的HTML5引擎技术提供商与优秀的游戏发行商,面向Flash开...

来源: Laya_示例 发布时间: 20260106

253. 怎样复制bmf字体 [ 72%]

....width; this.height = _label.height; this.fontSize = _label.fontSize; this.color = _label.color; this.font = _label.font; } } 2018-05-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 w1114367261 赞同来自: htt...

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

254. 请问关于ColorFilter的问题 [ 72%]

请问关于ColorFilter的问题 当一个sprite addFilter之后就会使draw call+1,请问有没有什么办法来优化这一块 2017-07-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来...

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

255. SubShader介绍(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 72%]

...ddInclude("ShadowCasterFS.glsl", ShadowCasterFSGLSL); Shader3D.addInclude("Colors.glsl", ColorsGLSL); Shader3D.addInclude("Sampling.glsl", SamplingGLSL); Shader3D.addInclude("StdLib.glsl", StdLibGLSL); Shader3D.addInclude("PBRVSInput.glsl", PBRVSInput); Shader3D.addInclude("PBRFSInput.glsl", PBRFSIn...

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

256. 文本-复杂的文本样式 [ 71%]

...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createText(); } createText() { const Text = Laya.Text; let txt = new Text(); Laya.stage.addChild(txt); //给文本的text属性赋值 txt.text = "Layabox是性能最强的HTML5引擎技术提供商与...

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

257. SubShader介绍(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 71%]

...ddInclude("ShadowCasterFS.glsl", ShadowCasterFSGLSL); Shader3D.addInclude("Colors.glsl", ColorsGLSL); Shader3D.addInclude("Sampling.glsl", SamplingGLSL); Shader3D.addInclude("StdLib.glsl", StdLibGLSL); Shader3D.addInclude("PBRVSInput.glsl", PBRVSInput); Shader3D.addInclude("PBRFSInput.glsl", PBRFSIn...

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

258. html富文本转换成Layabox内参数 [ 71%]

...的数据赋值给ui里的组件呢,比如获取到: "<span style='color:#ffffff; line-height:20px'>.....</span>" 要给label组建赋值颜色等属性 2017-07-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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

259. 2D网格渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 71%]

...tDirection: {type: Vector2, default:[1,1]}, // 渐变方向 u_gradientStartColor: {type:Vector4, default:[1,1,1,1]}, // 渐变起始颜色 u_gradientEndColor: {type:Vector4, default:[1,1,1,1]} // 渐变结束颜色 }, attributeMap: { a_position: Vector4, a_color: Vector4, a_uv: Vector2, }, defines: ...

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

260. laya.particle.shader.value.ParticleShaderValue_API3.0 [ 71%]

...structors constructor Properties ALPHA alpha clipMatDir clipMatPos clipOff color colorAdd defines filters mainID mmat ref shader size subID texture textureHost u_CurrentTime u_Duration u_EndVelocity u_Gravity u_MvpMatrix u_mmat2 u_texture TEMPMAT4_ARRAY Methods clear release setFilters setValue upda...

来源: Laya3.0_api 发布时间: 20231115