大约有 518 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0064 秒)
Laya_社区(280) Laya2.0_文档(68) Laya3.0_api(54) Laya_示例(42) Laya3.0_文档(34) Laya2.0_示例(24) Laya2.0_api(9) laya_api(7)
...不起作用 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
...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
生成的粒子特效怎么设置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
...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
...览器页面怎么锁定 图集打包找不到图集文件 2.0 drawTexture color参数无效 FD 宏编译时 出现 试图访问该方法时失败 怎样获取浏览器地址传过来的GET参数 Dialog关闭时如何向open他的页面传值? 问题状态 最新活动: 2025-06-27 17:50 浏览: 31...
来源: Laya_社区 发布时间: 20250609
...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
...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
...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
...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
...画里创建的多个动画,怎么分别调用?如图 2.0 drawTexture color参数无效 ios原生回调问题 IDE中js压缩工具,能不能用类似命令行,或者编译参数等等方式调用? 菜鸟提问:请问使用LayaAir的话,AS3原生类以及一些第三方库完全不能...
来源: Laya_社区 发布时间: 20171228