大约有 311 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0075 秒)
Laya_社区(121) Laya3.0_api(97) Laya2.0_api(23) laya_api(21) Laya_示例(15) Laya3.0_文档(15) Laya2.0_示例(10) Laya2.0_文档(9)
...n laya/resource/Resource.ts:18 Static _videoTexturePool _videoTexturePool: Array<VideoTexture> = new Array<VideoTexture>() Defined in laya/resource/VideoTexture.ts:14 videoTexture对象池 Accessors anisoLevel get anisoLevel(): number set anisoLevel(value: number): void Inherited from Ba...
来源: Laya3.0_api 发布时间: 20231102
...决? 为什么ani动画执行的不是按中心点执行的 我用list.array=Array;数据全部插进去数组里了,但是list中没有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 关于发布oppo、viv...
来源: Laya_社区 发布时间: 20200818
...rial.ts:123 渲染质量。 Accessors MaterialDefine get MaterialDefine(): Array<string> Inherited from Material.MaterialDefine Defined in laya/d3/core/material/Material.ts:373 获得材质宏 Returns Array<string> MaterialProperty get MaterialProperty(): any Inherited from Material.Mate...
来源: Laya3.0_api 发布时间: 20231115
...信息(并创建图集内小图Texture)。 Static BUFFER BUFFER: string = "arraybuffer" Defined in laya/net/Loader.ts:87 二进制类型,加载完成后返回包含arraybuffer的TextResource对象。 Static FONT FONT: string = "font" Defined in laya/net/Loader.ts:97 位图字体类型,加载完...
来源: Laya3.0_api 发布时间: 20231115
...监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 EventDispatcher once(type:String, caller:*, listener:Function, args:Array = nu...
来源: Laya2.0_api 发布时间: 20190513
...化的时候加载了图片和音频资源,加载方式如下: var resArray: Array<any> = [ { url: "res/atlas/Images.atlas", type: Laya.Loader.ATLAS }, { url: "Images/BG_Gray.png", type: Laya.Loader.IMAGE }, ...
来源: Laya_社区 发布时间: 20191030
...可读。 Returns NativeVertexBuffer3D Properties _buffer _buffer: Float32Array | Uint16Array | Uint8Array | Uint32Array Inherited from Buffer._buffer Defined in laya/RenderEngine/Buffer.ts:8 _bufferType _bufferType: number Inherited from Buffer._bufferType Defined in laya/RenderEngine/Buffer.ts:10 ...
来源: Laya3.0_api 发布时间: 20231115
... 为什么有的图片打包,有的图片不打包? 如图 我用list.array=Array;数据全部插进去数组里了,但是list中没有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的数据也存在,但没渲染出。 路径是对的,但...
来源: Laya_社区 发布时间: 20250819
...(tex) { let u8 = tex.getData(0, 0, tex.width, tex.height) let u = new Uint8Array(u8.length) let len = u8.length / 4 let i = 0 for (let x = len; x >= 0; x--) { for (let y = 0; y < 4; y++) { u[i * 4 + y] = u8[x * 4 + y] } i++ } u8 = u u = new Uint8Array(u8.length) len = u8.length / s.height let ...
来源: Laya_社区 发布时间: 20210911
...型只会被序列化,不能显示和编辑。 类型化数组类型 Int8Array、Uint8Array、Int16Array、Uint16Array、Int32Array、Uint32Array、Float32Array 支持7种类型化数组类型 数组类型 ["number"]、["string"] 用中括号包含数组元素类型, 使用示例代码如下: ...
来源: Laya3.0_文档 发布时间: 20251010