大约有 10 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0040 秒)
... Only exported Menu Globals "laya/device/motion/RotationInfo" RotationInfo Class RotationInfo 保存旋转信息的类。请勿修改本类的属性。 author Survivor Hierarchy RotationInfo Index Constructors constructor Properties absolute alpha beta compassAccuracy gamma Constructors constructor ...
来源: Laya3.0_api 发布时间: 20231115
2.0.0beta5 can not find class Laya.Text 我有个项目 Laya.version 显示 2.0.0beta5 请问我应该下载哪个版本的编辑器?我下载了 这两个版本的,运行的时候提示我这个 这是什么情况啊 附件 : --> 2021-06-24 添加评论 免费帖 --> 分享 微博 QZ...
来源: Laya_社区 发布时间: 20210624
...rited Externals Only exported Menu Globals "laya/device/media/Media" Media Class Media Media用于捕捉摄像头和麦克风。可以捕捉任意之一,或者同时捕捉两者。getCamera前可以使用supported()检查当前浏览器是否支持。 NOTE: 目前Media在移动平台只支持Andro...
来源: Laya3.0_api 发布时间: 20231115
...otected All Inherited Externals Only exported Menu Globals "Config" Config Class Config Config 用于配置一些全局参数。如需更改,请在初始化引擎之前设置。 Hierarchy Config Index Properties FPS animationInterval defaultFont defaultFontSize destroyResourceImmediatelyDefault fi...
来源: Laya3.0_api 发布时间: 20231115
...lization": true, /* Enable strict checking of property initialization in classes. */ // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */ // "alwaysStrict": true, /* Parse in strict mode and emit...
来源: Laya_社区 发布时间: 20190408
...nherited Externals Only exported Menu Globals "laya/utils/Browser" Browser Class Browser Browser 是浏览器代理类。封装浏览器及原生 js 提供的一些功能。 Hierarchy Browser Index Properties PLATFORM_ANDROID PLATFORM_IOS PLATFORM_PC canvas context onAlipayMiniGame onAndroid onBDMin...
来源: Laya3.0_api 发布时间: 20231115
...是否需要关注? Demo代码(已测试有效): // 程序入口 class GameMain { constructor() { Laya.init(640,1100, Laya.WebGL); //设置适配模式 Laya.stage.scaleMode = "showall"; //设置剧中对齐 Laya.stage....
来源: Laya_社区 发布时间: 20170105
...Laya.loader是null,为什么会出现为null的情况? 代码如下: class main{ constructor(){ MapManager.getInstance().LoadMapResource(); } } new main(); class MapManager { private static s_instance = null; public static getInstance():MapManager { if(null==this.s_instance) { this.s_instance=...
来源: Laya_社区 发布时间: 20171124
...型项目回调 /** * 创建时间 2017/04/16 */ module PomeloLaya{ export class Pomelo{ static DEBUG:boolean = true; static EVENT_IO_ERROR:string = "io-error"; static EVENT_CLOSE:string = "close"; static EVENT_KICK:string = "onKick"; static EVENT_HEART_BEAT_TIMEOUT:string = 'heartbeat timeout'; pri...
来源: Laya_社区 发布时间: 20180119
...a:80) at miui.contentcatcher.InterceptorFactory.initInterceptorClass(InterceptorFactory.java:99) at miui.contentcatcher.InterceptorFactory.createInterceptor(InterceptorFactory.java:41) at miui.contentcatcher.InterceptorProxy$H.handleMessage(InterceptorProxy.java:3...
来源: Laya_社区 发布时间: 20181126