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

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

301. laya.d3.core.material.SkyPanoramicMaterial_API3.0 [ 70%]

...ERDEFINE_ALPHATEST SHADERDEFINE_MAINTEXTURE TEXTURE TEXTURE_HDR_PARAMS TINTCOLOR Accessors MaterialDefine MaterialProperty _defineDatas alphaTest alphaTestValue blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha blendSrcRGB cpuMemory cul...

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

302. 更改innerHTML字体大小失败 [ 70%]

...agVo.attr[i]; if(vo.attValue==0) continue; attrStr+="<font size='99999' color='#b031d5'>"+AttrNameCode.toName(vo.attType)+"</font> "+vo.attValue+"<br>"; } describe.innerHTML=attrStr; trace(attrStr) } 2017-10-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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

303. 文本在屏幕不垂直居中 [ 70%]

...nction GameMain(){ var tx= new Laya.Text(); tx.text='这是一个demo'; tx.color='#ffffff'; tx.fontSize="20"; tx.pos(Laya.stage.width /2 ,Laya.stage.height /2); tx.pivot(tx.width /2 ,tx.height / 2); tx.align="center"; tx.valign="middle"; Laya.stage.addChild(tx); } })()   2017-11-15 添加评论 免...

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

304. 输入设备-摇一摇 [ 70%]

...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.showShakePic(); this.showConsoleText(); this.startShake(); } showShakePic() { const Sprite = Laya.Sprite; let shakePic = new Sprite(); shakePic.loadImage("res/inputDevice/shake.png"); Laya.stage.addChi...

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

305. 文本-Overflow [ 70%]

...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; createTexts(); })(); function createTexts() { var t1 = createText(); t1.overflow = Text.VISIBLE; t1.pos(10, 10); var t2 = createText(); t2.overflow = Text.SCROLL; t2.pos(10, 110); var t3 = createText(); t3....

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

306. 添加Include(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 70%]

...ng.glsl"; import PBRUtilsGLSL from "./files/PBRLibs/PBRUtils.glsl"; import ColorsGLSL from "./files/postProcess/Colors.glsl"; import ShadowHelperGLSL from "./files/ShadowHelper.glsl"; import SamplingGLSL from "./files/postProcess/Sampling.glsl"; import StdLibGLSL from "./files/postProcess/StdLib.gls...

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

307. 网络和格式-POST [ 70%]

...lignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; connect(); showLogger(); })(); function connect() { hr = new HttpRequest(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMPLETE, this, onHttpRequestComplete); hr.once(Event.ERROR, t...

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

308. 网络和格式-GET [ 70%]

...lignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; connect(); showLogger(); })(); function connect() { hr = new HttpRequest(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMPLETE, this, onHttpRequestComplete); hr.once(Event.ERROR, t...

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

309. 文本基础样式(ActionScript-LayaAir基础篇(AS3)-文本) [ 70%]

....init(1136, 640); var txt:Text = new Text(); txt.text = "hello_world"; txt.color = "#ffffff"; Laya.stage.addChild(txt); } } } ``` 这个时候我们就可以看到txt已经添加到舞台上了,显示了txt中 白色的hello_world。 接着我们给我们的文本添加一些其他的字体样式...

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

310. Mesh网格-网格加载 [ 70%]

...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 layaMonkey = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/skinModel/LayaMonkey/A...

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