大约有 511 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0054 秒)
Laya_社区(277) Laya2.0_文档(68) Laya3.0_api(54) Laya_示例(42) Laya3.0_文档(30) Laya2.0_示例(24) Laya2.0_api(9) laya_api(7)
... 一个归一化的值,决定了拖尾不同位置的宽度 拖尾颜色(color) 设置拖尾的颜色,会与拖尾的渐变色混合叠加形成最终颜色 拖尾渐变色(colorGradient) 设置拖尾的渐变色,会与拖尾的颜色混合叠加形成最终颜色 纹理模式(textureMode) 控...
来源: Laya3.0_文档 发布时间: 20250214
...什么都没留下…… **/ interface ITextFormat { /** * 背景色 */ bgColor?: string; /** * 是否加粗 */ bold?: number; /** * 文本框背景色 */ borderColor?: string; /** * 文本颜色 */ color?: string; /** * 字体 */ font?: string; /** * 字体大小 */ fontSize?: number; /** * 是否...
来源: Laya_社区 发布时间: 20171226
...中用到了自定义格式的模型文件 .... if(this.m_spModelData.HasColor()) { VerElement[Index] = new Laya.VertexElement(Stride, Laya.VertexElementFormat.Color, Laya.VertexElementUsage.COLOR0); Stride += 16; Index += 1; } var VertDecal = new Laya.VertexDeclaration(Stride, VerElement); NewMesh....
来源: Laya_社区 发布时间: 20180717
... (图1) **Source** 光源选项目前可以使用Skybox和Color两种。 **Ambient Color** 环境光的颜色。设置为Color时的环境光颜色。 **Ambient Mode** 环境模式,只能使用 `Realtime `实时光照。 设置之后调整颜色或者 #### 使代码设置环境光...
来源: Laya2.0_文档 发布时间: 20210714
... (图1) **Source** 光源选项目前可以使用Skybox和Color两种。 **Ambient Color** 环境光的颜色。设置为Color时的环境光颜色。 **Ambient Mode** 环境模式,只能使用 `Realtime `实时光照。 设置之后调整颜色或者 #### 使代码设置环境光...
来源: Laya2.0_文档 发布时间: 20210715
...一致的。 let txt: Laya.Text = new Laya.Text(); txt.text = "HELLO"; txt.color = "#ffffff"; txt.x = 1136 / 2, txt.y = 320; Laya.stage.addChild(txt); txt = new Laya.Text(); txt.text = "HELLO"; txt.color = "#ffffff"; let mat = new Laya.Matrix(); mat.translate(1136 / 2, 320); txt.tra...
来源: Laya_社区 发布时间: 20181015
...用滤镜。 (动图1-1) 如图1-2所示,可以创建颜色滤镜(ColorFilter)、模糊滤镜(BlurFilter)、发光滤镜(GlowFilter)。 (图1-2) 1.2 同时生效 如图1-3所示,不同滤镜效果可以叠加使用并同时生效,开发者可以根据需要进行设置。 ...
来源: Laya3.0_文档 发布时间: 20240910
...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 = scene.addChild(new Laya.MeshSprite3D(new Laya.PlaneMesh(6, 6, 10, 10))); //正方体 var box = scene.addChi...
来源: Laya_示例 发布时间: 20250221
...错: p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Andale Mono'; color: #28fe14; background-color: #000000; background-color: rgba(0, 0, 0, 0.9)} span.s1 {font-variant-ligatures: no-common-ligatures} ERROR: Uncaught SyntaxError: Unexpected end of JSON input, location: undefined:0:0 求...
来源: Laya_社区 发布时间: 20191115
HtmlDivElement 下划线 如何解决? <span style='color:#ffd600;font:18px SimHei;'>天天天天天天天天天天</span><span style='color:#ffd600;font:18px SimHei;line-height:18px;letter-spacing:0px;' href='1'>天天天天</span> 附件 : --> 2019-04-09 添加评论 免...
来源: Laya_社区 发布时间: 20190409