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

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

901. 有关Laya3D碰撞检测疑问 [ 50%]

...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

902. HTMLDIVElement设置innerHTML时报错 [ 50%]

... = 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

903. Point Light不能导出? [ 50%]

...以了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

904. 【分享】Laya As3 Tween类的loop实现和3d简单缓动实现 [ 50%]

...Type_Loop:String = "loop"; 2 增加简单3d缓动: Position,Scale,Rotation,Color   demo如下:   具体实现方式和demo源码放到github。有需要的同学可以看看。github入口 附件 : --> 2018-09-05 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

905. 请问使用HTMLDivElement,<span>标签如何支持style = "visibility:hidden"? [ 50%]

...           Laya.stage.scaleMode = "showall";         Laya.stage.bgColor = "#232628";           setup();     })();       function setup()     {         createParagraph(); // 代码创建         showExternalHTML(); // 使用外部定义的html     }       function cr...

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

906. 加载不了模型 [ 50%]

....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

907. macOS Sierra 下 IDE 1.7.8 发布时点构建按钮提示有错误 [ 50%]

...误信息如下: 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.&lt;anonymous&gt; 请问怎么解...

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

908. Laya拖尾无效 [ 50%]

...身也是循环的。但是不知道为什么会跳帧。 2.0 drawTexture color参数无效 问题状态 最新活动: 2019-02-20 17:01 浏览: 3257 关注: 6 人 承 • 2018-10-15 20:44 恩 使用unity的拖尾,第一次使用总会卡2秒,我试了两天放弃了。用的官方的闪光效果...

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

909. 文本进阶使用 · LayaAir3.3 · 引擎文档 · LAYABOX [ 50%]

...。 * @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

910. laya3的自定义注册类型regClass("xxx")无效 [ 50%]

...,层级设置无效的问题 (此问题已经无效) 2.0 drawTexture color参数无效 lh文件内meshSprite添加阴影属性无效 matter.js mouseconstraint在微信小游戏中无效 九宫格设置无效。 测试模式正常,发布模式后,运行无效。显示如图 更新3.0.3引...

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