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

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

341. 自定义shader-边缘光照shader [ 59%]

...directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(1, 1, 1); directionLight.direction = new Laya.Vector3(1, -1, 0); var dude = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/dude/dude.lh")); dude.once(Laya.Event.HIERARCHY_LOADED, th...

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

342. laya.d3.core.pixelline.PixelLineRenderer_API3.0 [ 59%]

...ns void addLine addLine(startPosition: Vector3, endPosition: Vector3, startColor: Color, endColor: Color): void Defined in laya/d3/core/pixelLine/PixelLineRenderer.ts:167 增加一条线。 Parameters startPosition: Vector3 初始点位置 endPosition: Vector3 结束点位置 startColor: Color 初...

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

343. image.skin = base64 无效 [ 59%]

...无效 关于同为object层,层级设置无效的问题 2.0 drawTexture color参数无效 (此问题已经无效) LayaAir3D UnityPlug 1.7.13 导出刚体动画无效 lh文件内meshSprite添加阴影属性无效 TextInput 的 type 属性设置为 number 的时候 maxChars 字数限制无效 ...

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

344. 3D项目Label组件增加最少15M内存 [ 59%]

...o Layabox"; //设置文本颜色为白色,默认颜色为黑色 txt.color = "#ffffff"; //将文本内容添加到舞台 Laya.stage.addChild(txt); } } new LayaAir3D();

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

345. 陀螺仪与加速计(ActionScript-LayaAir基础篇(AS3)-硬件设备相关) [ 59%]

...it(550, 400);     info = new Text();  info.fontSize = 50;  info.color = "#FFFFFF";  info.size(Laya.stage.width, Laya.stage.height);  Laya.stage.addChild(info);     Gyroscope.instance.on(Event.CHANGE, this, onDeviceorientation); }   private function onDeviceorientation(absolut...

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

346. html文本(HTMLDivElement)的话 怎么斜体 [ 59%]

...style.fontFamily = 'Arial'; scoreHtml.style.fontSize = 30; scoreHtml.style.color = '#3CFFBE'; scoreHtml.style.lineHeight = 30; scoreHtml.style.background = '#011f15'; scoreHtml.style.fontStyle = 'italic'; scoreHtml.style.align = 'right'; 2017-01-22 添加评论 免费帖 --> 分享 微博 QZONE 微...

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

347. 3D网格添加刚体后设置欧拉角出现位置错误 [ 59%]

...MoveScript);         camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SOLIDCOLOR;         //方向光         let directionLight = this.scene.addChild(new Laya.DirectionLight());         directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6);         let mat = directionLight.transfor...

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

348. tsconfig.json 里面的sourceMap配置无效 [ 59%]

...效) LayaAir3D UnityPlug 1.7.13 导出刚体动画无效 2.0 drawTexture color参数无效 关于同为object层,层级设置无效的问题 matter.js mouseconstraint在微信小游戏中无效 lh文件内meshSprite添加阴影属性无效 transform.pivot = new Laya.Vector3(0,1,0); 设置pivot...

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

349. Sprite图片显示不了 [ 58%]

...    Laya.stage.scaleMode = "showall";             Laya.stage.bgColor = "#336699";             showApe();         }         private function showApe():void {             var t:Text = new Text();             t.text = "asdfasd";             t....

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

350. HtmlDivElement限制文本宽度无效? [ 58%]

...合无效(版本2.6) HTMLDivElement 2.0 排版问题 2.0 drawTexture color参数无效 LayaAir3D UnityPlug 1.7.13 导出刚体动画无效 富文本:LayaAir下 HtmlDivElement的使用汇总 关于同为object层,层级设置无效的问题 (此问题已经无效) matter.js mouseconstrain...

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