大约有 175 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0038 秒)
Laya_社区(129) Laya2.0_文档(18) laya_api(7) Laya2.0_示例(7) Laya3.0_文档(6) Laya3.0_api(3) Laya_示例(3) Laya2.0_api(2)
...接使用 <code>new HTMLImage<code> 。 **</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()的话...
来源: Laya_社区 发布时间: 20180702
...ined in laya/d3/WebXR/core/WebXRSessionManager.ts:21 XRReferenceSpace TODO Static EVENT_FRAME_LOOP EVENT_FRAME_LOOP: string = "xrFrameLoop" Defined in laya/d3/WebXR/core/WebXRSessionManager.ts:11 Static EVENT_MANAGER_END EVENT_MANAGER_END: string = "xrManagerDestory" Defined in laya/d3/WebXR/core/We...
来源: Laya3.0_api 发布时间: 20231115
... ) 前往OPPO官网文档([https://cdofs.oppomobile.com/cdo-activity/static/201810/26/quickgame/documentation/games/use.html](https://cdofs.oppomobile.com/cdo-activity/static/201810/26/quickgame/documentation/games/use.html))我们找到`安装 runtime.apk 包到 OPPO 手机上`这个栏目,...
来源: Laya2.0_文档 发布时间: 20210715
...isibility = true; } _this.event(Event.VISIBILITY_CHANGE); }); public static var isStopLoop:Boolean = false; /**@private */ public function _loop():Boolean { if(!isStopLoop) { render(Render.context, 0, 0); } return true; } 2017-10-11 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个...
来源: Laya_社区 发布时间: 20171011
... 2020-07-21 11:57 这个我也碰到了,我觉得你们随便导出一个static物体,然后克隆就可以发现了,这种不是偶发性问题感觉不需要传demo 189*****909 • 2020-08-19 17:00 已经上传了。
来源: Laya_社区 发布时间: 20200612
.../该方法示例仅做参考,视项目情况自行修改或拓展 public static var getUrlAndEncode:Function = function(url:String,type:String):String { if (url.indexOf(".fnt") != -1 || url.indexOf("xxx.json") != -1) { return "utf8"; } else if (type == "arraybuffer") { return ""; } return "ascii";...
来源: Laya_社区 发布时间: 20180115
...焦点在父窗口被聚焦),playMusic背景音乐播放无声音 public static function playSound(url:String, loops:int = 1, complete:Handler = null, soundClass:Class = null, startTime:Number = 0):SoundChannel { if ((!_isActive && loops != 0) || !url) return null; if (_muted) return null;...
来源: Laya_社区 发布时间: 20190115
...r._passes.indexOf(shaderPass) : number defineNames :宏定义名称 static compileShaderByDefineNames(shaderName, subShaderIndex, passIndex, defineNames) { var shader = Shader3D.find(shaderName); if (shader) { var subShader = shader.getSubShaderAt(...
来源: Laya_社区 发布时间: 20200606
...y.appendChild(script); script.src = "http://localhost:9090/?a=1"; } public static onComplete():void{ console.log("JSONP执行到这里"); } } new LayaSample(); ``` ```java var script:any = Laya.Browser.createElement("script");//这句话的含义是创建一个脚本的标签,原生的所有dom元...
来源: Laya2.0_文档 发布时间: 20210715
.../该方法示例仅做参考,视项目情况自行修改或拓展 public static var getUrlAndEncode:Function = function(url:String,type:String):String { if (url.indexOf(".fnt") != -1 || url.indexOf("xxx.json") != -1) { return "utf8"; } else if (type == "arraybuffer") { return ""; } return "ascii";...
来源: Laya_社区 发布时间: 20180205