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

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

251. 文本-复杂的文本样式 [ 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_示例 发布时间: 20251130

252. 怎样复制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

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

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

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

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

255. 文本-复杂的文本样式 [ 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_示例 发布时间: 20251130

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

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

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

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

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

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

260. 射线检测-放置物体 [ 71%]

...ra.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var 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 plane = sc...

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