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

大约有 901 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0073 秒)

891. 分享:简单聊天室 [ 42%]

...ml组件的高度,并刷新panel,让panel滚动条随之改变 my_html.height=my_html.contextHeight; my_panel.refresh(); // panel滚动条永远位于最下方,显示最后输入的文本 my_panel.vScrollBar.value=my_panel.vScrollBar.max; // 设置my_html文本高度的上限值,超出上限...

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

892. 位图字体的制作与使用(JavaScript-LayaAir基础篇(JS)-文本) [ 41%]

...在使用时需要多大的字就在此处设置相同大小的字号。 Height:设置字体的拉伸高度,保持默认的100%就可以。 *注意:Charset的值选择Unicode。* ![4](img/4.png) 5.在选择菜单栏 Edit->Select chars from file,选中刚才创建的txt文件,如果有提...

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

893. localRotationEulerY旋转位置错误 [ 40%]

...置绕自身中心点旋转,我这么设置_ani.pivot(_ani.width/2,_ani.height/2);不行,而且也没有锚点可以设置,如何实现 元素旋转后,所绑定的事件失效 unity的坐标和旋转转换到laya需要做什么运算 问题状态 最新活动: 2020-11-20 19:18 浏览: 1926 ...

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

894. 关于这个timer我的跑的快在 自己出完牌之后没有人比我的牌大了。可是我的牌还是出不去 [ 38%]

...his.aaa.playerNameList[i].playerhandpoker[j].PokerDre; img.width = 76; img.height = 110; img.pos(200 + i * 35, 230); Laya.stage.addChild(img); this.reciveOutPoker.push(img); this.outHandPoker.push(this.aaa.playerNameList[i].playerhandpoker[j]); this.lastPaixing = 1;  for (let x = 0; x < this.out...

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

895. 一篇了解所有的LayaAir文本组件(TypeScript-LayaAir基础篇(TS)-文本) [ 34%]

...| `padding:10px 10px 20px 20px;` | 边缘的距离(上右下左) | | `line-height:100px;` | 行高(仅div中使用) | | `align:left|right|center` | 水平对齐方式(仅div中使用) | | `background-color:#ff0000;` | 背景颜色(仅div中使用) | | `border-color:#ff0000;` | 边框...

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

896. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 34%]

...      _mapW = tJsonData.width;             _mapH = tJsonData.height;                          _mapTileW = tJsonData.tilewidth;             _mapTileH = tJsonData.tileheight;                          _width = _mapTileW * _mapW;          ...

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

897. 一篇上手LayaAir的3D物理引擎(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 33%]

...//生成随机值半径和高 let raidius = Math.random() * 0.2 + 0.2; let height = Math.random() * 0.5 + 0.8; //创建圆锥形3D模型节点对象 let cone = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createCone(raidius, height)); //把圆锥形3D节点对象添加到3D场景节点下 this.newScene....

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

898. 在父sprite中添加子sprite ,移动父Sprite 子sprite为什么不动? [ 31%]

...]; // 守护神设置旋转 this.angel.pivot(boundAngel.width/2,boundAngel.height); this.angel.rotation = -15; // 守护神设置呼吸 Laya.Tween.to(this.angel,{scaleY:0.99},900,Laya.Ease.linearInOut,Handler.create(this,this.angelTween1)); // 飞艇设置浮动 Laya.Tween.to(this.aeroboat,{y:-data....

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

899. 3D物理编辑 · LayaAir3.0文档 · LAYABOX [ 29%]

...//生成随机值半径和高 let raidius = Math.random() * 0.2 + 0.2; let height = Math.random() * 0.5 + 0.8; //创建圆锥形3D模型节点对象 let cone = new Laya.Sprite3D; let coneMesh = cone.addComponent(Laya.MeshFilter); let coneRender = cone.addComponent(Laya.MeshRenderer); // 创建网格...

来源: Laya3.0_文档 发布时间: 20240624

900. 项目设置详解 · LayaAir3.0文档 · LAYABOX [ 28%]

...面宽高的三个设置,分别是设计宽高(Design Width、Design Height),缩放适配模式(Scale Mode)。 设计宽高,就是我们在IDE里的设置并看到的宽高, 这个宽高会影响在IDE里的UI场景背景大小,以及IDE的预览运行模式下,也是基于这个宽...

来源: Laya3.0_文档 发布时间: 20230808