大约有 4,338 项符合查询结果, 库内数据总量为 30,789 项。 (搜索耗时: 0.0078 秒)
Laya_社区(2450) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(25)
...mport layaair.game.browser.ConchJNI; import layaair.game.browser.ExportJavaFunction; /** * Created by Administrator on 2017/7/19. */ public class YIMMain { private final String TAG = "MarketTest"; private final static String strAppKey = "123132123";//你申请的App Key private final static String s...
来源: Laya_社区 发布时间: 20170722
...建 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
...aInitError error=Update DCC get assetsid error 看到对应代码段是: function updateDcc() { return __awaiter(this, void 0, void 0, function* () { cache.setResourceID('appurl', urlpath); var curassets = cache.getResourceID('netassetsid'); var assetsidStr = (yield asyncs.downloadSync(urlpath + '...
来源: Laya_社区 发布时间: 20180111
...人脸识别的: Browser.window.$('#mvideo').faceDetection({ complete: function (faces):void { trace("faces: "+ faces); }, error:function (code, message):void { trace('Error: ' + message); } }); Laya_Aaron • 2018-06-25 21:01 之后使用需要用js调 需要用__JS__("里面放j...
来源: Laya_社区 发布时间: 20180625
...ndow.URL.createObjectURL(blob);dataUrltoBlob函数(网上就能找到) function dataURLtoBlob(base64Data):*{ var byteString; if (base64Data.split(",")[0].indexOf("base64") >= 0) byteString = Browser.window. atob(base64Data.split(",")[1]); else byteString = Browser.window.unescape(base64Data.s...
来源: Laya_社区 发布时间: 20181221
...dColor="0xffffff",frameRate=60)] public class Main extends Sprite { public function Main():void { IFlash.setSize(800, 600);//2D项目中设置场景尺寸 IFlash.setOrientationEx(1); //是否为横屏模式 IFlash.setBgcolor("#FFFFFF"); //背景色 IFlash.showInfo(false); //是否显示帧率 if (st...
来源: Laya_社区 发布时间: 20151225
...ya.utils.Stat; import laya.webgl.WebGL; public class Sprite_Cache { public function Sprite_Cache() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgCo...
来源: Laya2.0_示例 发布时间: 20241128
...apps must be self-contained bundles. This means that the core features and functionality of the app must be contained within the binary of the software, rather than made possible by referring users outside of the approved app, including through the use of HTML5. Apps that provide core features and f...
来源: Laya_社区 发布时间: 20190909
...xture2D.load("res/threeDimen/texture/earth.png", Laya.Handler.create(this, function(texture) { //设置材质纹理 material.albedoTexture = texture; })); earth2.meshRenderer.material = material; ``` ![](img/4.png)(图4) ##### 法线贴图 **Normal maps(法线贴图)**是一个灰度图,可以将...
来源: Laya2.0_文档 发布时间: 20210714
... * * htmlCanvas.toBase64("image/png",0.92,function(base64){//webgl和canvas模式下为同步方法,加速器下是异步方法 * trace(base64);//打印图片base64信息,可以发给服务器或者保存...
来源: Laya_社区 发布时间: 20180626