大约有 511 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0056 秒)
Laya_社区(277) Laya2.0_文档(68) Laya3.0_api(54) Laya_示例(42) Laya3.0_文档(30) Laya2.0_示例(24) Laya2.0_api(9) laya_api(7)
...esText.pos(0, compassImg.y + 400); degreesText.fontSize = 100; degreesText.color = "#FFFFFF"; } // 方位指示器指向当前所朝方位。 function createDirectionIndicator() { directionIndicator = new Sprite(); Laya.stage.addChild(directionIndicator); directionIndicator.alpha = 0.8; directionInd...
来源: Laya_示例 发布时间: 20250222
...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(compassImgPath, Handler.create(this, this.init)); } init() { const Gyroscope = Laya.Gyroscope, Event = Laya.Event; // 创建罗盘 this.createCompass(); // 创建方位指示器 this.create...
来源: Laya2.0_示例 发布时间: 20250222
... this._graphics.drawLine(x,y,x+lineWidth,y,this.underlineColor || this.color,1); } y 如果 y+=this._charSize.height/2; 就是中划线 可以自己加个变量 控制 例如 linethrough 如果是 true的时候 y+=this._charSize.height/2; false 就...
来源: Laya_社区 发布时间: 20171019
...directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); directionLight.direction = new Laya.Vector3(0, -1.0, -1.0); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); var layaPlan...
来源: Laya_示例 发布时间: 20250222
...lignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { createParagraph(); // 代码创建 } function createParagraph() { var p = new HTMLDivElement(); Laya.stage.addChild(p); p.style.font = "Impact"; p.style.fontSize = 30; var ...
来源: Laya_社区 发布时间: 20180808
...,version:'4181',<br> qqPlayCore log user :<br> <span style="color:#FF0000;">Error: 禁止使用关键字:sc.push_new_msg.local</span> <br> <span style="color:#FF0000;">Error: exit error</span> <br> </p> 搜到https://ask.layabox.com/question/14...
来源: Laya_社区 发布时间: 20180709
...的Laya.init或Laya3D.init 这个时候使用之前的Text对象,设置color属性就报错,, 其他的很多也这样 2017-03-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_XS 赞同来自: 能提...
来源: Laya_社区 发布时间: 20170302
...fontFamily = "Microsoft YaHei"; div.style.width = 200; div.style.color = "#black"; for(let i=0; i<FaceView.faceArray.length; i++) { txt = txt.replace(FaceView.repl[i],'<img src="res/face/face'+i+'.png" style="width:36px;height:36px;position:relative;top:30px;...
来源: Laya_社区 发布时间: 20170911
...div.style.fontFamily = "Microsoft YaHei"; div.style.width = 200; div.style.color = "#000000"; for(let i=0; i<FaceView.faceArray.length; i++) { txt = txt.replace(FaceView.repl,'<img src="res/ChatFace/face'+i+'.png" style="width:28px;height:28px;"></img>'); } div.pos(30,5); div.innerHTM...
来源: Laya_社区 发布时间: 20170911
ambientColor无效 material = new StandardMaterial(); material.diffuseTexture = Texture2D.load("res/earth.png"); material.ambientColor=new Vector(2,2,2); sphere.meshRender.material = material; 我照教程里设置了环境颜色 material.ambientColor=new Vector(2,2,2); 但是无效,模型并没...
来源: Laya_社区 发布时间: 20180531