大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0082 秒)
Laya_社区(1925) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...ned in laya/display/Stage.ts:675 舞台的背景颜色,默认为黑色,null为透明。 Returns string Defined in laya/display/Stage.ts:679 舞台的背景颜色,默认为黑色,null为透明。 Parameters value: string Returns void blendMode get blendMode(): string set blendMode(value: stri...
来源: Laya3.0_api 发布时间: 20231115
...", type : Laya.Loader.IMAGE}, ] Laya.loader.load(res_array, Handler.create(null, onLoaded)); } function onLoaded() { var res_array = [ {url : "res/atlas/comp.atlas", type : Laya.Loader.ATLAS}, ] Laya.loader.load(res_array, Handler.create(null, onLoaded2)); } function onLoaded2() { Laya.stage.addChil...
来源: Laya_社区 发布时间: 20180803
...一个新的 Button 类实例。 Parameters Default value skin: string = null 皮肤资源地址。 Default value label: string = "" 按钮的文本内容。 Returns Button Properties Optional _extra _extra: INodeExtra Implementation of ISelect._extra Inherited from Node._extra Defined in laya/displ...
来源: Laya3.0_api 发布时间: 20231115
...修改了。之前版本是这样的。 class URL { static __init__() { null == URL.basePath && (URL.basePath = location && null != location.protocol && "" != location.protocol ? URL.getPath(location.protocol + "//" + location.host + location.pathname) : "") } }现在Laya....
来源: Laya_社区 发布时间: 20250701
...建一个新的 Radio 类实例。 Parameters Default value skin: string = null 皮肤。 Default value label: string = "" 标签。 Returns Radio Properties Optional _extra _extra: INodeExtra Implementation of ISelect._extra Inherited from Node._extra Defined in laya/display/Node.ts:56 _graphics _g...
来源: Laya3.0_api 发布时间: 20231115
...件偏移问题首先,请找到代码initevent initEvent(e, nativeEvent = null) { var _this = this; _this._event._stoped = false; _this._event.nativeEvent = nativeEvent || e; _this._target = null; var docElem = document.documentElement var win = document.defaultView var clientBox = Browser._containe...
来源: Laya_社区 发布时间: 20191227
...ocalPositionZ : lspos.z }, 2000,null,null,0,false); 2021-02-04 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 sfsmmc 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋...
来源: Laya_社区 发布时间: 20170829
...ixueying 赞同来自: Laya.Tween.to(this.testAnimation,{x:200,y:200},2000,null,Laya.Handler.create(this,this.change)) 把这句话改下就好了,第四个参数不能是{},如果使用默认缓动类型,设置为null即可! 2017-08-28 0 0 分享 微博 QZONE 微信 cuixueying 赞同来自:...
来源: Laya_社区 发布时间: 20170809
...然后转Base64. 使用 canvas.toDataURL("image/png)"; 每次都得到的null,canvas的宽高都有值,但是就是无法通过toDataURL得到base64的字符串,每次都是null。 2018-08-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20180826
...次加载播放延迟怎么解决? private function onPlayMusic(e:Event=null):void { trace("播放音乐"); SoundManager.playMusic("../../../../res/sounds/bgm.mp3", 1, new Handler(this, onComplete)); } 以上是官方的例子,但是背景音乐文件比较大的时候,会有一定...
来源: Laya_社区 发布时间: 20161130