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

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

2401. http请求能否取消 [ 58%]

...** * @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

2402. 图片加载问题 [ 58%]

图片加载问题 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

2403. 按钮失效,同UI里的一个图片超链接点击后再返回,出现按钮失效。 [ 58%]

...,再到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

2404. laya.events.KeyBoardManager [ 58%]

...否被按下。 KeyBoardManagerProperty Detailenabledpropertypublic static var enabled:Boolean = true是否开启键盘事件,默认为trueMethod DetailhasKeyDown()method public static function hasKeyDown(key:int):Boolean 返回指定键是否被按下。 Parameters key:int — 键值。 ReturnsBo...

来源: laya_api 发布时间: 20170929

2405. laya.events.KeyBoardManager [ 58%]

...否被按下。 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

2406. laya.d3.animation.AnimationClip [ 58%]

...改memorySize属性。AnimationClipProperty Detailisloopingpropertypublic var islooping:Boolean是否循环。Constructor DetailAnimationClip()Constructorpublic function AnimationClip() 创建一个 AnimationClip 实例。 Method DetaildetoryResource()methodoverride protected function detoryResource...

来源: laya_api 发布时间: 20170929

2407. laya.d3.core.particleShuriKen.module.SizeOverLifetime [ 58%]

...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

2408. 播放模型动画的时候出问题了 [ 58%]

...型动画的时候出问题了   //给男角色模型设定贴图动画 var manAni = this.roleMan.addComponent(SkinAnimations); manAni.url ="3d/man/hero.ani"; manAni.player.play();   附件 : --> 2019-02-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...

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

2409. laya.d3.core.particleShuriKen.module.SizeOverLifetime [ 58%]

...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

2410. laya.ui.ColorPicker [ 58%]

...果可以当作图片源,再次绘制到其他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