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

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

211. laya.ui.TextArea_API3.0 [ 40%]

...i/UIComponent.ts:179 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Returns number Inherited from UIComponent.bottom Defined in laya/ui/UIComponent.ts:187 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Parameters value...

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

212. laya.display.Sprite [ 40%]

...  elasticDistance:Number (default = 0) — (可选)橡皮筋效果的距离值,0为无橡皮筋效果,默认为0,可选。  elasticBackTime:int (default = 300) — (可选)橡皮筋回弹时间,单位为毫秒,默认为300毫秒,可选。  data:* (default = null) — (可选...

来源: laya_api 发布时间: 20170929

213. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 39%]

...的话 那当A都满足1,2,4条件时 这个时候假设A在B的上面 距离B还有300多像素的距离 就会一闪到B上面 所以 必须有第3个条件来限制住 感觉很污~~ 反正就是这么个意思 有不对的地方请指正。。。。 嘿嘿 还记得我们的Floor的宽度是...

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

214. laya.html.dom.HTMLDivElement [ 39%]

...okeColor:#ff0000; 字体描边颜色 padding:10px 10px 20px 20px; 边缘的距离 vertical-align:top|bottom|middle; 垂直对齐方式 align:left|right|center; 水平对齐方式 line-height:20px; 行高 background-color:#ff0000; 背景颜色 border-color:#ff0000; 边框颜色 width:100px; 对象宽...

来源: Laya2.0_api 发布时间: 20190513

215. 【简单跑酷--JS版】---Lv.6 终篇 [ 37%]

...unction Floor(){ //背景贴图纹理 this.bgTexture = null; //最大右边距离 this.maxRight = 0; //判断是否超过右边最大距离了 this.isOutComplete = false; //背景 this.bg = null; //背景右边补丁 this.rightBg = null; //当前地板上面的物品集合 this.itemList = ; Floor.__...

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

216. 为什么会出现报错 ani not found:ufo1_down [ 36%]

...碰撞区域 var hitRadius = role1.hitRadius = role2.hitRadius; // 根据距离判断是否碰撞 if(Math.abs(role1.x - role2.x) < hitRadius && Math.abs(role1.y - role2.y) < hitRadius){ // 碰撞后掉血 lostHp(role1,1); lostHp(role2,1); } } } } // 如果主角死亡,停止游戏循...

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

217. 为什么会出现报错 ani not found:ufo1_down [ 35%]

...碰撞区域 var hitRadius = role1.hitRadius = role2.hitRadius; // 根据距离判断是否碰撞 if(Math.abs(role1.x - role2.x) < hitRadius && Math.abs(role1.y - role2.y) < hitRadius){ // 碰撞后掉血 lostHp(role1,1); lostHp(role2,1); } } } } // 如果主角死亡,停止游戏循...

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

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

...线来确定在3维世界的平面朝向,可以通过偏移值来调整距离原点的偏移多少。API说明如图2-17所示。 (图2-17) 通过API,我们可以看到normal是一个3维向量值,表示着平面的法线。例如这个值为Vector3(0, 1, 0),则表示法线位于Y轴正...

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

219. laya.display.Sprite [ 33%]

...  elasticDistance:Number (default = 0) — (可选)橡皮筋效果的距离值,0为无橡皮筋效果,默认为0,可选。  elasticBackTime:int (default = 300) — (可选)橡皮筋回弹时间,单位为毫秒,默认为300毫秒,可选。  data:* (default = null) — (可选...

来源: Laya2.0_api 发布时间: 20190513

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

...线来确定在3维世界的平面朝向,可以通过偏移值来调整距离原点的偏移多少。API说明如图11-1所示。 ![img](img/11-1.png) (图11-1) 通过API,我们可以看到normal是一个3维向量值,表示着平面的法线。例如这个值为`Vector3(0, 1, 0)`,则表...

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