大约有 31 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0117 秒)
...素的坐标 加载一个txt文件 getRes出来类型为string 能转换成数组吗 请问在2.0版本的js中,如何获取mouse_move的鼠标坐标 我在转换的时候,项目报错了,报错指向了laya引擎的类代码,我能对laya的引擎进行修改吗? 按钮坐标问题导致...
来源: Laya_社区 发布时间: 20220630
...UI { /** 密码临时存储 */ private _tmp_pwd: 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.l...
来源: Laya_社区 发布时间: 20200410
...a:应该是RenderTexture类型的getData()这个API有bug,得到的字节数组每一位都是255,希望官方尽快修复此bug!
来源: Laya_社区 发布时间: 20171019
...据。注意:如果是需要传递多个参数 p1,p2,p3,...可以使用数组结构如:[p1,p2,p3,...] ;如果需要回调单个参数 p ,且 p 是一个数组,则需要使用结构如:[p],其他的单个参数 p ,可以直接传入参数 p。 Returns boolean 此事件类型是否有...
来源: Laya3.0_api 发布时间: 20231115
...密逻辑开始处理数据 var byte:Laya.Byte = new Laya.Byte(data);//Byte数组接收arraybuffer // byte.writeArrayBuffer(data,4);//从第四个字节开始读取数据 var blob:Object = new Laya.Browser.window.Blob([byte.buffer],{type:"image/png"}); var url = Laya.Browser.window.URL.createObjectU...
来源: Laya2.0_文档 发布时间: 20210714
...供的字典可否考虑下效率问题,这个Dic存取速度和 原生数组 差几百倍
来源: Laya_社区 发布时间: 20180619
...自己使用手动缓存的方式缓存资源,但是缓存借口不支持数组和我已有的loader代码没有配合性。问题二请问在laya里面调用那些借口获取已经缓存的文件目录大小,以便我手动控制缓存大小 linchenrr • 2018-06-22 11:43 @shiyang12345:曾经...
来源: Laya_社区 发布时间: 20180621
...组件实例。 Returns ReadonlyArray<Component> 返回组件实例数组。 contextHeight get contextHeight(): number Defined in laya/html/dom/HTMLDivElement.ts:179 获取內容高度 Returns number contextWidth get contextWidth(): number Defined in laya/html/dom/HTMLDivElement.ts:172 获取...
来源: Laya3.0_api 发布时间: 20231102
...组件实例。 Returns ReadonlyArray<Component> 返回组件实例数组。 currentSrc get currentSrc(): string Defined in laya/device/media/Video.ts:244 获取当前播放源路径。 Returns string currentTime get currentTime(): number set currentTime(value: number): void Defined in laya/de...
来源: Laya3.0_api 发布时间: 20231102
...组件实例。 Returns ReadonlyArray<Component> 返回组件实例数组。 currentSrc get currentSrc(): string Defined in laya/media/VideoNode.ts:154 获取当前播放源路径。 Returns string currentTime get currentTime(): number set currentTime(value: number): void Defined in laya/media...
来源: Laya3.0_api 发布时间: 20231115