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

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

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

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

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

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

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

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

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

344. 陀螺仪与加速计(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

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

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

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

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

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

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

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

350. 2D物理-仿生机器人 [ 58%]

...Laya.Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_AUTO; Laya.Laya.stage.bgColor = "#232628"; this.Construct(); this.eventListener(); } Construct() { let ground = new Laya.Sprite(); Laya.Laya.stage.addChild(ground); let rigidbody = new Laya.RigidBody(); rigidbody.type = "static"; ground.addComponent...

来源: Laya2.0_示例 发布时间: 20251130