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

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

1171. MovieClip 给SWF播放的对象 [ 53%]

...RM  (0x02) 导致的,请问到底是哪个才对啊? Sprite.as public function set transform(value:Matrix):void { this._tfChanged = false; var m:Matrix = this._transform || (this._transform = _createTransform()); value.copyTo(m); _setTransform(m); //设置transform时重置x,y if (value) { _x =...

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

1172. LayaAir 2.0 TS版编译出错GameConfig跟创建项目时生成的内容不一致了 [ 53%]

...ic exportSceneToJson:boolean=true; constructor(){} static init(){ var reg: Function = Laya.ClassUtils.regClass; reg("script/GameUI.ts",GameUI); reg("script/GameControl.ts",GameControl); reg("script/Bullet.ts",Bullet); reg("script/DropBox.ts",DropBox); } } GameConfig.init();编译之后变成:/* * ...

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

1173. 执行了这个 Laya.timer.clear(this, this.onLoop);还是会继续执行onLoop [ 53%]

...代码如下 hit事件执行效率探讨 执行回调函数时报is not a function 怎样跨页面执行脚本命令? Laya.loader.create 进度回调函数执行两次 注册函数里面 事件侦听函数的执行域 的详解 问题状态 最新活动: 2018-04-11 19:17 浏览: 810 关注: 2 人 ...

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

1174. laya.d3.core.render.command.DrawRenderCMD_API3.0 [ 53%]

...tor material destroy recover run setContext Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Enumeration Interface Inherited method

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

1175. laya.d3.resource.models.SkyRenderer_API3.0 [ 53%]

...OR SUNLIGHTDIRECTION material mesh __init__ Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Accessor Static property Static method Enumeration Interface

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

1176. laya.device.media.Video播放视频的问题 [ 53%]

... videoPlayer.load(url); videoPlayer.play(); let videoChecker = setInterval(function () { if (videoPlayer.ended) { //请求奖励 console.log('请求奖励'); clearInterval(videoChecker); } }, 500);---使用DOM方式可以,将canvas的zIndex设置为-1可以显示   laya.device.media.Video 方式...

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

1177. 调用Sprite的drawToCanvas怎么返回的是uint8array [ 53%]

调用Sprite的drawToCanvas怎么返回的是uint8array private function drawPicture():*         {                          var _canvas:* =this.drawToCanvas(this.width,this.height,0,0);             var base64:*  = _canvas._canvas.source.toDataURL();         ...

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

1178. laya.display.cmd.DrawLineCmd_API3.0 [ 53%]

...X toY ID getBoundPoints recover _tempPoints Legend Object literal Variable Function Type alias Class Class with type parameter Property Method Enumeration Interface Static property

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

1179. laya.device.geolocation.GeolocationInfo_API3.0 [ 53%]

...itude longitude speed timestamp setPosition Legend Object literal Variable Function Type alias Class Class with type parameter Method Enumeration Interface

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

1180. unity插件报错 [ 53%]

...t(3); runtime运行报错! 导微信小程序报错window.focus is not a function 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 本地调试加载本地图片都报...

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