大约有 622 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0053 秒)
...Ratio, Browser.clientHeight * Browser.pixelRatio, WebGL); }else{ Laya.init(this.SCENE_WIDTH, this.SCENE_HEIGHT, WebGL); } 苹果X适配 2018-05-22 1 1 分享 微博 QZONE 微信 w1114367261 赞同来自: 目前还没有针对x的手机做针对性适配,目前适配方式需要与ide中的父物...
来源: Laya_社区 发布时间: 20180521
...HX0217401012320 Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. I/om.layabox.tes: Reinit property: dalvik.vm.checkjni= false D/ZrHung.AppEyeUiProbe: AppEyeUIP created. D/ActivityThread: Attach th...
来源: Laya_社区 发布时间: 20190723
...用getImageData了 //TextRender.isWan1Wan = true; this.charRender = new CharRender_Canvas(2048, 2048, TextRender.scaleFontWithCtx, !TextRender.isWan1Wan, false); TextRender.textRenderInst = this; ILaya.Laya['textRender'] = this; 必须修改bugIOS ...
来源: Laya_社区 发布时间: 20240802
...句话 界面布局就会乱 请问是什么问题呢 let { x, y } = this._modelPnl.localToGlobal(new Laya.Point(0, 0)) let { x: x2, y: y2 } = this._modelPnl.localToGlobal(new Laya.Point(this._modelPnl.width, this._modelPnl.height)) let w = x2 - x le...
来源: Laya_社区 发布时间: 20200401
...r.load 加载场景报错 Laya.loader.load( 模型url, Laya.Handler.create(this, function(){ this.scene = Laya.loader.getRes(模型url); Laya.stage.addChild(this.scene); }),null, null, 1, true, "scene1"); 执行后,浏览器报 : laya.core.js:13290 Uncaught TypeError: node._setParent is not a fu...
来源: Laya_社区 发布时间: 20181208
...配套的代码 在demo里有个类TestSceneUI 请问如何才能生成 /**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ package ui.test { import laya.ui.*; import laya.display.*; public class TestSceneUI extends Scene { public var scoreLbl:Label; publ...
来源: Laya_社区 发布时间: 20181024
...复网页后报错 游戏中有这样一个监听Laya.stage.on(Event.BLUR, this, onBlur); onBlur函数里有这样一个语句SoundManager.stopAll(); 进行了主动静音,这样做的目的是休眠后游戏自动结束,结束后的界面是没有背景音的,这样再复原时也不会播放...
来源: Laya_社区 发布时间: 20170320
...n laya/utils/Timer.ts:278 延迟执行。 Parameters caller: any 执行域(this)。 method: Function 定时器回调函数。 Default value args: any[] = null 回调参数。 Returns void clear clear(caller: any, method: Function): void Defined in laya/utils/Timer.ts:243 清理定时器。 Parameter...
来源: Laya3.0_api 发布时间: 20231115
...: string = ""; /** 输入框数组 */ private _arrInput: Laya.TextInput = [this.input_nickname, this.input_mobile, this.input_password, this.input_repassword]; /** 标签数组 */ private _arrLabel: Laya.Label = [this.lb_nickname, this.lb_mobile, this.lb_password, this.lb_repassword]; /** 验证标...
来源: Laya_社区 发布时间: 20200410
...111/.com/libs/laya.d3.js:24049: RangeError: Array buffer allocation failed this._vertices = new Float32Array(this._floatCountPerVertex * lastVBVertexCount); ^^ RangeError: Array buffer allocation failed at new ArrayBuffer (<anonymous>) at new Float32Array (<anonymous>) at ShurikenParticl...
来源: Laya_社区 发布时间: 20211211