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

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

241. laya.display.cmd.StrokeTextCmd [ 72%]

...TextCmd Object 绘制描边文字 Public Properties PropertyDefined By  color : String 定义文本颜色,比如"#ff0000"。 StrokeTextCmd  font : String 定义字体和字号,比如"20px Arial"。 StrokeTextCmd  lineWidth : Number 线条宽度。 StrokeTextCmd  text : String 在画布...

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

242. laya.d3.core.light.SpotLightCom_API3.0 [ 72%]

...t SpotLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id intensity lightWorldMatrix lightmapBakedType range shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias shadowResolution...

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

243. HtmlDivElement的innerHTML属性BUG [ 72%]

...Element = new HTMLDivElement(); htmlDiv.style.fontSize = 25; htmlDiv.style.color = "#ffffff"; Laya.stage.addChild(htmlDiv); htmlDiv.innerHTML = "<font color='#00ff00'>宝石1<br/>宝石2</font>"; 用了1.7.17版本测试,未解决,麻烦官方测试下。 附件 : --> Client.zi...

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

244. laya.display.cmd.DrawTrianglesCmd [ 72%]

...pha DrawTrianglesCmd  blendMode : String blend模式 DrawTrianglesCmd  color : ColorFilter 颜色变换 DrawTrianglesCmd  indices : Uint16Array 顶点索引。 DrawTrianglesCmd  matrix : Matrix 缩放矩阵。 DrawTrianglesCmd  texture : Texture 纹理。 DrawTrianglesCmd  uvs : Float32A...

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

245. 类似古文显示方式脚本,文字垂直显示,可以控制显示速度出现打字效果等 [ 72%]

...ault:"hello world"}*/ public text: string = "hello world"; /** @prop {name:color, tips:"字符串类型示例", type:String, default:"#0000ff"}*/ public color: string = "#0000ff"; /** @prop {name:layoutType, tips:"排版方式(verticalRight-0 竖排从右到左)", type:enum, default:0}*/ public ...

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

246. laya.d3.core.pixelline.PixelLineMaterial_API3.0 [ 72%]

...ion blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha blendSrcRGB color cpuMemory cull depthTest depthWrite destroyed gpuMemory id materialRenderMode obsolute referenceCount shaderData stencilOp stencilRef stencilTest stencilWrite cpuMemory gpuMemory Methods _addReference _clearReference _r...

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

247. 文本-下划线 [ 72%]

...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createTexts(); } createTexts() { this.createText('left', null, 100, 10); this.createText('center', "#00BFFF", 155, 150); this.createText('right', "#FF7F50", 210, 290); } createText(align, underlineColo...

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

248. 3d插件导出的顶点格式不正确 [ 72%]

...顶点格式不正确 3d插件导出的顶点格式为【“position”“color”“uv”】,在引擎里找不到相应的格式,只有【“position”“normal”“color”“uv”】,希望官方解决一下 2.0.5 2018-12-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

249. SubShader介绍(JavaScript-3D基础(JS)-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_文档 发布时间: 20210714

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