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

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

1211. laya.resource.RenderTexture2D_API3.0 [ 79%]

...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...

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

1212. 用Geolocation获取地理位置信息(TypeScript-LayaAir基础篇(TS)-硬件设备相关) [ 79%]

...nSuccess), Handler.create(this, onError) ); // 成功获取位置后触发 function onSuccess(info:GeolocationInfo):void { trace('经纬度: (' + info.longitude + '°, ' + info.latitude + '°),精确度:' + info.accuracy + 'm'); if(info.altitude != null) trace('海拔:' + info.altitude + 'm' +...

来源: Laya2.0_文档 发布时间: 20210715

1213. 用Geolocation获取地理位置信息(JavaScript-LayaAir基础篇(JS)-硬件设备相关) [ 79%]

...nSuccess), Handler.create(this, onError) ); // 成功获取位置后触发 function onSuccess(info:GeolocationInfo):void { trace('经纬度: (' + info.longitude + '°, ' + info.latitude + '°),精确度:' + info.accuracy + 'm'); if(info.altitude != null) trace('海拔:' + info.altitude + 'm' +...

来源: Laya2.0_文档 发布时间: 20210715

1214. LayaAir开发笔记(1)五十音图连连看 [ 79%]

...copyright.pos(20, g_stat_heiht - 35); copyright.on(Laya.Event.CLICK, this, function() { window.location.href = "http://www.coderluan.com"; }); Laya.stage.addChild(copyright); 3.设置积分板和开始菜单 右下弄了个“点击开始游戏”的文本,点击只会游戏开始,这个文本...

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

1215. 怎么实现一个Timer的loop的delay时间越来越短? [ 79%]

...Timer的loop的delay时间越来越短? loop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void delay:int在loop过程中可以修改吗? 定时重复执行。怎么实现一个Timer的loop的delay时间越来越短? 2017-06-26 添加评论 免费帖 --> 分...

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

1216. 鼠标脚本(ActionScript-3D基础(AS3)-LayaAir3D之鼠标交互) [ 79%]

...lass MouseScript extends Script3D{ private var meshsp:MeshSprite3D; public function MouseScript() {} /** * 覆写3D对象组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ override public function onAwake():void{ //获取脚本的拥有者 meshsp =...

来源: Laya2.0_文档 发布时间: 20210715

1217. 华为手机SoundManage.playSound有问题 [ 79%]

...); 没有音效  上面执行完毕后 不会 执行soundComplete private function soundComplete(aa,bb):void { //执行代码 }   2018-03-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 qian 赞同来自: 我...

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

1218. laya.d3.resource.RenderTextureCube_API3.0 [ 79%]

...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...

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

1219. Native 如何使用ttf? [ 79%]

...= 'arraybuffer'; xhr.open('GET', "res/font/Arial.ttf", true); xhr.onload = function () { Laya.Browser.window.conch.setFontFaceFromBuffer("Arial", xhr.response); setInterval(onDrawFrame, 15); }; xhr.onerror = function (e) { alert('>>>download ttf error :' + e); }; xhr.send(null); //这里以...

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

1220. laya.resource.NativeRenderTexture2D_API3.0 [ 79%]

...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...

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