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

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

321. 模型导出之后骨骼节点消失 [ 65%]

...通过这个API来关联骨骼节点(linkSprite3DToAvatarNode(nodeName: string, sprite3D: Sprite3D): boolean;) 2018-11-09 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 子言 相关问题 unity导出粒子文件问题 Layabox 2....

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

322. TypeScript在LayaAir 1.X和2.X中对待module和namespace的异同,求2.x使用自定义namespace的方法(module已经找到方法) [ 65%]

...------------------------ module AM{ export class AC { public static myname:string = "I'm AC!"; } } export default AM; b.ts ---------------------------- module AM{ export class BC { public static myname:string = "I'm BC!"; } } export default AM; c.ts -------------------------- import AM from './a'; /...

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

323. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 65%]

...      private mDecorate:Decorate;//装饰器         private mHost: string;         private mPort: number;         private mConnected: boolean;         /** 开启*/         public static OPEN: string = "open";         /** 关闭*/         public static CLOSE: string = ...

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

324. laya底层的加载为什么可以new两次 [ 65%]

...e> 。 **</p> */ public static var create:Function = function(src:String, def:* = null):HTMLImage { return new HTMLImage(src, def); } tobe • 2018-07-02 17:35 @Laya_Aaron:额,这里第一句话是 创建一个实例,new HTMLImage.create()的话不是new 那个实例了是不是呢 Laya...

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

325. 微信小游戏截屏分享 [ 65%]

...: function (res) { wx.shareAppMessage({ imageUrl: res.tempFilePath, title: string }) } });   注意:sp 可以是Laya.image 或者laya.sprite 2018-05-18 2 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ₩ 相关问题 分享:LayaAir...

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

326. 关于canvas下资源释放的问题 [ 64%]

...         */         public static function clearTextureRes(url:String):void { 2018-04-25 0 0 分享 微博 QZONE 微信 w1114367261 赞同来自: 你是针对Texture清理的吗? 2018-04-25 0 3 分享 微博 QZONE 微信 w1114367261 赞同来自: 直接调用Loader的clearRes传一个...

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

327. 用iframe内嵌网页及适配 [ 64%]

用iframe内嵌网页及适配 Laya.init(720, 1280); String.prototype.format = function() { if (arguments.length == 0) { return this; } for (var str = this, index = 0; index < arguments.length; ++index) { str = str.replace("{" + index + "}", arguments[index]); } return str; }; var iframe = laya....

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

328. 如何隐藏tiledMap中指定的GridSprite? [ 64%]

...Laya里面对于对象的支持也就只有一个getObjectByName(objName:String):GridSprite,确实是可以取到指定的GridSprite,但是通过对象命名,这就要求我在TiledMap中给对象一一命名。但是我是想做一个横版跑酷游戏,里面要布置大量的金币,给...

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

329. 浏览器接口 · LayaAir3.4 · 引擎文档 · LAYABOX [ 64%]

... * @return 创建的节点对象的引用。 */ static createElement(type: string): any { Browser.__init__(); return Browser._document.createElement(type); } /** * 返回 Document 对象中拥有指定 id 的第一个对象的引用。 * @param type 节点id。 * @return 节点对象。 */ static ge...

来源: Laya3.0_文档 发布时间: 20251010

330. Laya3D.init 下,如何 用如下代码截图 [ 63%]

...Canvas(100, 100, 0, 0); var ct:*= canvas.getContext("2d").canvas; var bs64:String = ct.toDataURL (); 会报错,提示 getContext 不可访问,请问如何解决? 2017-05-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...

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