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

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

361. html富文本为什么很多属性不起作用 [ 55%]

...不起作用 let html = new HTMLDivElement(); let str = "<span style='color:#ffffff; line-height:20px'>.....</span>" html.innerHTML=str; 比如这个line-height 怎么弄都是没反应。而且这里很多html/css的样式好像都设置不了,有限制的吗? 用html.style.leadin...

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

362. 关于event中只读属性touches,问题,求解 [ 55%]

...h { public function DemoTouch() { Laya.init(800, 600, WebGL); Laya.stage.bgColor = "#232628"; var txt:Text = new Text(); txt.text = "hello"; txt.color = "#FF00FF"; txt.width = 100; txt.height = 100; txt.x = 200; txt.y = 100; txt.fontSize = 50; txt.on("click", this, onFunc); Laya.stage.addChild(txt);...

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

363. 生成的粒子特效怎么设置colorComponentInter无效? [ 55%]

生成的粒子特效怎么设置colorComponentInter无效? function UILetterBox(letter, width) { UILetterBox.super(this); letter = letter; this.loadImage('res/jiezou/wenzi2.png'); Laya.loader.load("res/parts/qipao.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); } function onAsse...

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

364. native下HttpRequest设置超时无效 [ 55%]

...ng么 matter.js mouseconstraint在微信小游戏中无效 2.0 drawTexture color参数无效 龙骨skeleton鼠标点击区域的设置 问题状态 最新活动: 2020-11-30 15:11 浏览: 3676 关注: 4 人 Nevermore • 2020-11-30 18:14 不是web,是native下 Nevermore • 2020-11-20 09:09 我打...

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

365. [LayaAir3]页面之间,通过open,onOpend 方法传参数,接收不到 [ 55%]

...览器页面怎么锁定 图集打包找不到图集文件 2.0 drawTexture color参数无效 FD 宏编译时 出现 试图访问该方法时失败 怎样获取浏览器地址传过来的GET参数 Dialog关闭时如何向open他的页面传值? 问题状态 最新活动: 2025-06-27 17:50 浏览: 31...

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

366. 骨骼动画进阶(TypeScript-2D进阶篇(TS)-动画进阶) [ 55%]

...ton); this.text=new Laya.Text(); Laya.stage.addChild(this.text); this.text.color="#00ff00"; this.text.fontSize=30; Laya.stage.addChild(this.text); Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this.changeAction); } tActionID:number=0; changeAction() { this.tActionID++; var aniCount:number; //获取动画...

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

367. 3d显示对象克隆体超出舞台不再显示的bug2.1.0.btea1 [ 55%]

...addChild(new Laya.DirectionLight()) as Laya.DirectionLight; directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.transform.worldMatrix.setForward(new Laya.Vector3(1, -1, 0)); Laya.Sprite3D.load("h5/LayaMonkey/LayaMonkey.lh",Laya.Handler.create(this,this.ok)); } ok(sp:Laya.Sprite3D)...

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

368. 官方文档里的位图字体的制作与使用JS 跑不通 以及 文档的几个问题 [ 55%]

...width = 250; //自动换行 txt.wordWrap = true; txt.align = "center"; txt.color = "ff00ff"; //使用我们注册的字体 txt.font = mFontName; txt.fontSize = 50; txt.leading = 5; Laya.stage.addChild(txt); } 2018-09-19 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问...

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

369. laya.d3.core.light.PointLight_API3.0 [ 55%]

...a _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedType mode numChildren parent range scene shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias s...

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

370. 为啥上面可以跳转下面不可以跳转,调用原生就不能带参数吗 [ 55%]

...画里创建的多个动画,怎么分别调用?如图 2.0 drawTexture color参数无效 ios原生回调问题 IDE中js压缩工具,能不能用类似命令行,或者编译参数等等方式调用? 菜鸟提问:请问使用LayaAir的话,AS3原生类以及一些第三方库完全不能...

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