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

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

161. laya.d3.core.material.GlitterMaterial [ 79%]

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

来源: laya_api 发布时间: 20170929

162. LAYA3D,如何关闭ALPHA预乘 premultiply alpha [ 79%]

...)   Tiling is not broken. The problem with IE is that it pre-mutliplies colors by alpha, and then divides back, ignoring UNPACK_PREMULTIPLY_ALPHA_WEBGL being false. Closer your alpha to 0, more precision loss occurs on IE. Try separating color and alpha to different textures. 2018-04-14 0 0 分...

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

163. HTMLDivElement span标签嵌套问题 [ 79%]

HTMLDivElement span标签嵌套问题 <span style='color:#c28869; size:14px; face:bold 14px Arial; bold:true; italic:false; align:left; vertical-align:middle '> <span style='color:#ff7700'>绵羊重击</span> :充能后再使用跳跳羊,获得额外 <span style='color:#ff770...

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

164. Label属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 79%]

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

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

165. Arial Black字体能显示,为啥游戏里在firefox 里字体显示成了Times New Roman了 [ 79%]

...</title> <style type="text/css"> .p1{font-family:"Arial bold"; color: #583823;font-size: 25px} .p2{font-family:"Times New Roman";color: #583823;font-size: 25px} .p3{font-family:"Arial Black";color: #583823;font-size: 25px} .p4{font-family:"Arial";color: #583823;font-size: 25px} </styl...

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

166. laya.display.cmd.FillTextCmd [ 79%]

...ceFillTextCmd Object 绘制文字 Public Properties PropertyDefined By  color : String 定义文本颜色,比如"#ff0000"。 FillTextCmd  font : String 定义字号和字体,比如"20px Arial"。 FillTextCmd  text : String 在画布上输出的文本。 FillTextCmd  textAlign : String ...

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

167. 粒子动画透明度问题 [ 79%]

...ribute vec3 a_Position;\nattribute vec3 a_Velocity;\nattribute vec4 a_StartColor;\nattribute vec4 a_EndColor;\nattribute vec3 a_SizeRotation;\nattribute vec2 a_Radius;\nattribute vec4 a_Radian;\nattribute float a_AgeAddScale;\nattribute float a_Time;\n\nvarying vec4 v_Color;\nvarying vec2 v_TextureC...

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

168. 2.0 添加场景雾之后 粒子特效离原点越远 效果越淡 [ 79%]

...l.curScene.enableFog = true; //设置雾化的颜色 GamePanel.curScene.fogColor = new Laya.Vector3(0.59, 0.59, 0.59); //设置雾化的起始位置,相对于相机的距离 GamePanel.curScene.fogStart = 1; //设置雾化最浓处的距离。 GamePanel.curScene.fogRange = 100; 然后导入ls文件...

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

169. 微信小游戏:HTMLDivElement的使用 [ 79%]

...d(p); p.style.font = "Impact"; p.style.fontSize = 30; var html = "<span color='#e3d26a'>使用</span>"; html += "<span style='color:#FFFFFF;font-weight:bold'>HTMLDivElement</span>"; html += "<span color='#6ad2e3'>创建的</span><br/>"; html += "<span col...

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

170. 图文混排font标签配对的问题 [ 79%]

图文混排font标签配对的问题 this.appendHTML("<font color='#fff9c2'>111<img src='MORNUI_BiaoQing/bq01.png'/>222</font><br>"); 直接写这个 会完全混乱掉 显示222图片 如果<font color='#fff9c2'>111</font><img src='MORNUI_BiaoQing/bq01.png'/...

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