大约有 511 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0063 秒)
Laya_社区(277) Laya2.0_文档(68) Laya3.0_api(54) Laya_示例(42) Laya3.0_文档(30) Laya2.0_示例(24) Laya2.0_api(9) laya_api(7)
...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
...directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); //加载精灵 var monkey = Laya.Loader.getRes("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"); //精灵添加脚本 monkey.addComponent(MonkeyScript); scene.addChild(monkey); } }...
来源: Laya2.0_文档 发布时间: 20210714
...Child(new Laya.DirectionLight()) as Laya.DirectionLight; this._PlayerLight.color = new Laya.Vector3(0.7, 0.6, 0.6); this._PlayerLight.transform.worldMatrix.setForward(new Laya.Vector3(1, -1, 0)); this._PlayerLight.layer = 9; 都没用啊 请问您是如何实现的。 135*****336 • 2020-05-20 16:1...
来源: Laya_社区 发布时间: 20190709
...directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); //加载精灵 var monkey = Laya.Loader.getRes("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"); //精灵添加脚本 monkey.addComponent(MonkeyScript); scene.addChild(monkey); } }...
来源: Laya2.0_文档 发布时间: 20210715
...Vector3 = new Laya.Vector3(); this.txtName = new Laya.Text(); this.txtName.color = "#FFFFFF"; this.txtName.text = this.playerName; this.txtName.fontSize = 18; this.txtName.font = "Arial"; this.txtName.bold = true; this.txtName.align = "left"; Laya.stage.addChild(this.txtName); //设置其他玩家...
来源: Laya_社区 发布时间: 20171010
...or3( -30, 0, 0), true, false); camera.clearColor = null; //添加方向光 var directionLight:DirectionLight = scene.addChild(new DirectionLight()) as DirectionLight; direc...
来源: Laya_社区 发布时间: 20180116
...; input.fontSize = 60; input.size(256, 128); input.align = "center"; input.color = "#ff0000"; input.overflow = Laya.Text.SCROLL; input.wordWrap = false; input.maxChars = 10; 2017-08-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...
来源: Laya_社区 发布时间: 20170820
...回复 dfklegend 赞同来自: Laya3D.init(1704, 960, true); Laya.stage.bgColor = "#232628"; //适配模式 //Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_HEIGHT; Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.stage.alignH = Laya.Stage.ALIGN_CE...
来源: Laya_社区 发布时间: 20180126
...d(txt); txt.text = "玉树临风"; txt.pos(86, 15); txt.fontSize = 45; txt.color = "#000000"; var htmlCanvas:HTMLCanvas = p6_work.drawToCanvas(575, 1472, 0, 0); var canvas = htmlCanvas.getCanvas(); var base64 = canvas.toDataURL("image/png"); 为什么...
来源: Laya_社区 发布时间: 20180531
...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.4); directionLight.direction = new Laya.Vector3(1, -1, -1); Laya.Stat.show(0,30) va...
来源: Laya_社区 发布时间: 20180104