大约有 575 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0065 秒)
Laya_社区(281) Laya2.0_文档(75) Laya3.0_api(65) Laya_示例(59) Laya2.0_示例(41) Laya3.0_文档(38) Laya2.0_api(9) laya_api(7)
...回复 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
...ectionLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id intensity lightWorldMatrix lightmapBakedType shadowCascadesMode shadowDepthBias shadowDistance shadowFourCascadeSplits shadowMode shadowNearPl...
来源: Laya3.0_api 发布时间: 20231115
...inScene3D.getChildByName("DirectionalLight") as Laya.DirectionLight; light.color = new Laya.Vector3(1, 1, 1); light.shadow = true; light.shadowDistance = 1; light.shadowPCFType = 3; light.shadowResolution = 1024; light.shadowPSSMCount = 1; for (let index = 0; index < 2; index++) { var a = 0.05; v...
来源: Laya_社区 发布时间: 20191223
... Laya.init(800,400); var txt=new Laya.Text(); txt.text="Hello World"; txt.color = "#ffffff"; Laya.stage.addChild(txt); 就这么两行啊 附件 : --> 2018-10-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya...
来源: Laya_社区 发布时间: 20181025
...t AreaLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id intensity lightWorldMatrix lightmapBakedType maxBounces power shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias shado...
来源: Laya3.0_api 发布时间: 20231115
..."${imgUrl}" style="width:30px;height:30px"></img>`; htmlDiv.style.color = '#ffffff'; htmlDiv.style.fontSize = 30; htmlDiv.innerHTML = `emoji${imgStr}`; Laya.stage.addChild(htmlDiv); } } new GameMain();这样设置图片大小: <img src="${imgUrl}" width="30" height="30"></img>...
来源: Laya_社区 发布时间: 20170511
...型支持不仅限于number,还新增了对Vector2、Vector3、Vector4、Color、Point以及字符串形式颜色值的支持。新的Tween对象设计得非常轻量,因此默认不重用,以避免因对象重用而引发的问题。此外,新系统不再使用Handler,从而杜绝了Handl...
来源: Laya3.0_文档 发布时间: 20251010
...onClip呢? lh文件内meshSprite添加阴影属性无效 2.0 drawTexture color参数无效 LayaAir3D UnityPlug 1.7.13 导出刚体动画无效 为什么ani动画执行的不是按中心点执行的 关于同为object层,层级设置无效的问题 LayaNative ios上js访问不到JSBridge类中的...
来源: Laya_社区 发布时间: 20230719