大约有 1,107 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0052 秒)
Laya_社区(584) Laya3.0_api(207) Laya2.0_文档(82) Laya_示例(59) laya_api(46) Laya3.0_文档(44) Laya2.0_api(44) Laya2.0_示例(41)
...ansform.rotate(new Laya.Vector3(-15, 0, 0), true, false); this.camera.clearColor = null; //方向光 var directionLight: Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new La...
来源: Laya_社区 发布时间: 20180820
... = 30; html.style.whiteSpace = "nowrap"; html.innerHTML = '<span style="color:#ffffff">test</span>'; html.pos(500, 300); html.size(html.contextWidth, html.contextHeight); Laya.stage.addChild(html); setTimeout(function() { html.innerHTML = ''; }, 300);此问题是由于在新版中改变...
来源: Laya_社区 发布时间: 20170620
...以了var pointLight = scene.addChild(new Laya.PointLight()); pointLight.color = new Laya.Vector3(0.1189446, 0.5907708, 0.7352941); pointLight.transform.position = new Laya.Vector3(0.4, 0.4, 0.0); pointLight.attenuation = new Laya.Vector3(0.0, 0.0, 3.0); pointLight.range = 3.0; 2017-12-19 0 4 分享...
来源: Laya_社区 发布时间: 20171219
...Type_Loop:String = "loop"; 2 增加简单3d缓动: Position,Scale,Rotation,Color demo如下: 具体实现方式和demo源码放到github。有需要的同学可以看看。github入口 附件 : --> 2018-09-05 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20180905
... Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { createParagraph(); // 代码创建 showExternalHTML(); // 使用外部定义的html } function cr...
来源: Laya_社区 发布时间: 20170315
....rotate(new Laya.Vector3(-30, 0, 0), true, false); camera.clearColor = Laya.Vector3(255,255,0.1); camera.addComponent(CameraMoveScript); //添加方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color ...
来源: Laya_社区 发布时间: 20180427
...误信息如下: module.js:472 throw err; ^ Error: Cannot find module 'colors' at Function.Module._resolveFilename (module.js:470:15) at Function.Module._load (module.js:418:25) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object.<anonymous> 请问怎么解...
来源: Laya_社区 发布时间: 20170827
...身也是循环的。但是不知道为什么会跳帧。 2.0 drawTexture color参数无效 问题状态 最新活动: 2019-02-20 17:01 浏览: 3257 关注: 6 人 承 • 2018-10-15 20:44 恩 使用unity的拖尾,第一次使用总会卡2秒,我试了两天放弃了。用的官方的闪光效果...
来源: Laya_社区 发布时间: 20180816
...。 * @param font 定义字号和字体,比如"20px Arial"。 * @param color 定义文本颜色,比如"#ff0000"。 * @param textAlign 文本对齐方式,可选值:"left","center","right"。 */ fillText(text: string | WordText, x: number, y: number, font: string, color: string, textAlign:...
来源: Laya3.0_文档 发布时间: 20251010
...,层级设置无效的问题 (此问题已经无效) 2.0 drawTexture color参数无效 lh文件内meshSprite添加阴影属性无效 matter.js mouseconstraint在微信小游戏中无效 九宫格设置无效。 测试模式正常,发布模式后,运行无效。显示如图 更新3.0.3引...
来源: Laya_社区 发布时间: 20230821