大约有 1,758 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0056 秒)
Laya_社区(1080) Laya3.0_api(672) Laya2.0_文档(2) Laya_示例(1) Laya3.0_文档(1) Laya2.0_api(1) Laya2.0_示例(1)
...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
...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
...代码如下 hit事件执行效率探讨 执行回调函数时报is not a function 怎样跨页面执行脚本命令? Laya.loader.create 进度回调函数执行两次 注册函数里面 事件侦听函数的执行域 的详解 问题状态 最新活动: 2018-04-11 19:17 浏览: 810 关注: 2 人 ...
来源: Laya_社区 发布时间: 20180411
...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
...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
... 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
调用Sprite的drawToCanvas怎么返回的是uint8array private function drawPicture():* { var _canvas:* =this.drawToCanvas(this.width,this.height,0,0); var base64:* = _canvas._canvas.source.toDataURL(); ...
来源: Laya_社区 发布时间: 20170401
...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
...itude longitude speed timestamp setPosition Legend Object literal Variable Function Type alias Class Class with type parameter Method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...t(3); runtime运行报错! 导微信小程序报错window.focus is not a function 播放背景音乐的问题 刚打开 桌面调试出现报错Uncaught (in promise) DOMException: play() Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 本地调试加载本地图片都报...
来源: Laya_社区 发布时间: 20210607