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

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

271. as3中,调用原生js的的时候,如何传递原生JS要用到的document.getElementById的ID过去? [ 76%]

...的document.getElementById的ID过去?原生div中的id,是对应laya Sprite中的哪个属性或定义? 2017-08-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 survivor - 翻身做咸鱼 赞同来自: 186...

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

272. laya.ui.ComboBox [ 76%]

...nts Packagelaya.uiClasspublic class ComboBoxInheritanceComboBox Component Sprite Node EventDispatcher Object ComboBox 组件包含一个下拉列表,用户可以从该列表中选择单个值。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined B...

来源: laya_api 发布时间: 20170929

273. laya.ui.Label [ 76%]

... Events Packagelaya.uiClasspublic class LabelInheritanceLabel UIComponent Sprite Node EventDispatcher ObjectSubclasses TextInput Label 类用于创建显示对象以显示文本。 See alsolaya.display.TextPublic Properties Hide Inherited Public Properties Show Inherited Public Properties Property...

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

274. HtmlDivElement宽度设置错误 [ 76%]

...宽度来显示的 示例代码export default class HtmlTest extends Laya.Sprite { constructor() { super(); this.init(); } init() { this.bg = new Laya.Sprite(); this.bg.graphics.drawRect(0, 0, 200, 200, '#ccc'); this.addChild(this.bg); this.htmlTxt = new Laya.HTMLDivElement(); this.htmlTxt.style.fon...

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

275. 斜角透视的感觉怎么弄出来呀?? [ 76%]

...t感觉没有发成功 屏幕截图后,出现模型穿透和透视bug! Sprite中的width,height和size(width,height)感觉没作用啊 layabox2d例子,虽然出来效果,但是总感觉跟laya挂钩不上。 关于动画模板 除了官网的介绍有没有什么比较好的 实例 ...

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

276. 发光滤镜二次渲染bug [ 76%]

...       }   而二次渲染时使用了这个值; tIsHaveGlowFilter = sprite._cacheStyle.hasGlowFilter || false;                 if (tIsHaveGlowFilter) {                     tPadding = 50;                     tHalfPadding = 25;                 }         ...

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

277. 请问当按钮使用的skin透明的部分太大的时候,能够透过什么方法去调整碰撞范围吗? [ 76%]

...而与对象宽高和值为Rectangle对象的hitArea属性无关。如果sprite.hitArea值是HitArea对象,表示显式声明了此对象的鼠标事件响应区域,而忽略对象的宽高、mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优...

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

278. hitTestPrior点击穿透 [ 76%]

...回复 cuixueying 赞同来自: lllzzz6311 package { import laya.display.Sprite; import laya.events.Event; import laya.webgl.WebGL; public class PanelElastic { public function PanelElastic() { Laya.init(800,600,WebGL); Laya.stage.bgColor="#EEFFCC"; var sp:Sprite=new Sprite(); sp.graphics.drawRect(0,...

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

279. laya.map.TileAniSprite [ 76%]

...entationAll Packages | All Classes | Index | Frames No Frames TileAniSpriteProperties | Methods | Events Packagelaya.mapClasspublic class TileAniSpriteInheritanceTileAniSprite Sprite Node EventDispatcher Object TildMap的动画显示对象(一个动画(TileTexSet),可以绑定多个...

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

280. SVG渐变精灵的扩展脚本继承了多个精灵, 在safari环境下重叠了渲染 [ 75%]

...lignmentText;         };         return GradientText;     }(Laya.Sprite));     effect.GradientText = GradientText; })(effect || (effect = {})); 附件 : --> 2018-08-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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