大约有 3,990 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0080 秒)
Laya_社区(2836) Laya2.0_文档(369) Laya2.0_api(225) laya_api(169) Laya_示例(157) Laya2.0_示例(117) Laya3.0_api(62) Laya3.0_文档(55)
...** * @private * 清除当前请求。 */ protected function clear():void { var http:* = this._http; http.onerror = http.onabort = http.onprogress = http.onload = null; } 2016-12-05 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zhjinshib...
来源: Laya_社区 发布时间: 20161205
图片加载问题 var s:Sprite = new Sprite; s.loadImage("res/soil.png"); Laya.stage.addChild(s); chrome报错:Access to Image at 'file:///E:/study/LayaAirStudy/bin/h5/res/soil.png' from origin 'null' has been blocked by CORS policy: Invalid response. Origin 'null' is therefore not allowed acces...
来源: Laya_社区 发布时间: 20170116
...,再到chrome中刷新,才能恢复原样。 UI界面的继承类 var StartResource = function StartResource(){ StartResource.super(this); //LOGO 图标 访问地址 var href='https://list.tmall.com/search_product.htm?q=%BB%A8%D3%A1%D0%B6%D7%B1%CB%AE&type=p&spm=a220m.1000858.a2227oh.d...
来源: Laya_社区 发布时间: 20180810
...否被按下。 KeyBoardManagerProperty Detailenabledpropertypublic static var enabled:Boolean = true是否开启键盘事件,默认为trueMethod DetailhasKeyDown()method public static function hasKeyDown(key:int):Boolean 返回指定键是否被按下。 Parameters key:int — 键值。 ReturnsBo...
来源: laya_api 发布时间: 20170929
...否被按下。 KeyBoardManagerProperty Detailenabledpropertypublic static var enabled:Boolean = true是否开启键盘事件,默认为trueMethod DetailhasKeyDown()method public static function hasKeyDown(key:int):Boolean 返回指定键是否被按下。 Parameters key:int — 键值。 ReturnsBo...
来源: Laya2.0_api 发布时间: 20190513
...改memorySize属性。AnimationClipProperty Detailisloopingpropertypublic var islooping:Boolean是否循环。Constructor DetailAnimationClip()Constructorpublic function AnimationClip() 创建一个 AnimationClip 实例。 Method DetaildetoryResource()methodoverride protected function detoryResource...
来源: laya_api 发布时间: 20170929
...ject:*):void 克隆。 SizeOverLifetimeProperty Detailenbalepropertypublic var enbale:Boolean是否启用sizeproperty size:GradientSize [read-only] 取尺寸。 Implementation public function get size():GradientSizeConstructor DetailSizeOverLifetime()Constructorpublic function SizeOverLi...
来源: laya_api 发布时间: 20170929
...型动画的时候出问题了 //给男角色模型设定贴图动画 var manAni = this.roleMan.addComponent(SkinAnimations); manAni.url ="3d/man/hero.ani"; manAni.player.play(); 附件 : --> 2019-02-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...
来源: Laya_社区 发布时间: 20190221
...ject:*):void 克隆。 SizeOverLifetimeProperty Detailenbalepropertypublic var enbale:Boolean是否启用sizeproperty size:GradientSize [read-only] 取尺寸。 Implementation public function get size():GradientSizeConstructor DetailSizeOverLifetime()Constructorpublic function SizeOverLi...
来源: Laya2.0_api 发布时间: 20190513
...果可以当作图片源,再次绘制到其他Sprite里面,示例: var htmlCanvas:HTMLCanvas = sprite.drawToCanvas(100, 100, 0, 0);//把精灵绘制到canvas上面 var texture:Texture = new Texture(htmlCanvas);//使用htmlCanvas创建Texture var sp:Sprite = new Sprite().pos(0, 200);//创建精...
来源: laya_api 发布时间: 20170929