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

大约有 320 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0039 秒)

161. Sprite.loadImage();问题 [ 58%]

...             if(texture){                 this.mapImg.source = texture;                 this.width = texture.width;                 this.height = texture.height;                 this.pos((Laya.stage.width - this.width)/2, (Laya.stage.height - ...

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

162. 使用 Laya.loader 加载 .fnt 文件的BUG [ 58%]

...道后面的版本有没有修复,源码是: 问题应该出在 data._source 没有赋值,所以一直event(Event.PROGRESS, 0.5); 附件 : --> 2020-06-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为...

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

163. 朋友给我一套过山车 不懂搭建可以 [ 58%]

...这个应该怎么做? 搭建https服务器问题 Uncaught RangeError: Source is too large 这个怎么解决,下面是具体的错误提示,希望有朋友提供下解决方法 搭建ts环境出错 玩吧的礼包功能怎样接,官方的sdk有点看不懂 官网的api有点看不懂,onCl...

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

164. Image设置skin的Bug [ 58%]

...vate      * 设置皮肤资源。      */     protected setSource(url: string, img: any = null): void {         if (url === this._skin && img) {             this.source = img             this.onCompResize();         }  ...

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

165. tween缓动时能不能实时得出当前的位置 [ 58%]

... laya21126 赞同来自: tween中有个update方法是可以的 Tween.to(_source, {x:endX, y:endY, update:Handler.create(this, tweenUpdate)},200, null, Handler.create(this, moveComplete));   2017-12-27 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登...

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

166. laya.media.VideoTexture_API3.0 [ 57%]

...ute paused playbackRate preload readyState referenceCount seekable seeking source videoHeight videoWidth volume width wrapModeU wrapModeV wrapModeW cpuMemory gpuMemory Methods _addReference _clearReference _getSource _removeReference _setCPUMemory _setCreateURL _setGPUMemory canPlayType destroy even...

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

167. laya.resource.Texture2DArray_API3.0 [ 57%]

...ublic/Protected All Inherited Externals Only exported Menu Globals "laya/resource/Texture2DArray" Texture2DArray Class Texture2DArray 2D 纹理 数组 Hierarchy BaseTexture Texture2DArray Index Constructors constructor Properties _id depth destroyedImmediately lock name url uuid DEBUG Accessors anis...

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

168. laya.d3.math.Vector3 [ 57%]

...法线三维向量到另外一个三维向量。 Vector3  transformQuat(source:Vector3, rotation:Quaternion, out:Vector3):void[static] 根据四元数旋转三维向量。 Vector3  transformV3ToV3(vector:Vector3, transform:Matrix4x4, result:Vector3):void[static] 通过矩阵转换一个三维向...

来源: Laya2.0_api 发布时间: 20190513

169. Button销毁时,未对_clickHandler进行回收 [ 57%]

...l; this._text = null; this._clickHandler = null; this._labelColors = this._sources = this._strokeColors = null; }destroy方法,对 _clickHandler 置空处理,如果this._clickHandler 不为null是,没有将hangdler回收 附件 : --> 2020-05-14 添加评论 免费帖 --> 分享 微博 QZONE ...

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

170. 图片切换后显示两个状态 [ 57%]

...切换;刚在 loadImage() 的 complete 对应函数中加了一句 myImg.source = Laya.loader.getRes("2.png"); 手动赋值 texture 就可以了。 Monica • 2017-06-18 11:21 @Loongman:给Image设置皮肤的话直接用skin即可,之后切换皮肤也只需要切换skin

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