大约有 192 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0031 秒)
Laya_社区(77) Laya3.0_api(41) Laya2.0_api(29) laya_api(23) Laya2.0_文档(11) Laya3.0_文档(9) Laya2.0_示例(1) Laya_示例(1)
...为角度。 Utils toHexColor(color:Number):String[static] 将传入的 uint 类型颜色值转换为字符串型颜色值。 Utils toRadian(angle:Number):Number[static] 角度转弧度。 UtilsProperty DetailparseXMLFromStringpropertypublic static var parseXMLFromString:Function 将字符串...
来源: laya_api 发布时间: 20170929
... throw Error(errMsg); // Encode a message to an Uint8Array (browser) or Buffer (node) var buffer = AwesomeMessage.encode(message).finish(); // ... do something with buffer // Or, encode a plain object 也可...
来源: Laya_社区 发布时间: 20170216
...为角度。 Utils toHexColor(color:Number):String[static] 将传入的 uint 类型颜色值转换为字符串型颜色值。 Utils toRadian(angle:Number):Number[static] 角度转弧度。 UtilsProperty DetailparseXMLFromStringpropertypublic static var parseXMLFromString:Function 将字符串...
来源: Laya2.0_api 发布时间: 20190513
...aya.Mesh2D { const vertices = new Float32Array(4 * 5); const indices = new Uint16Array(2 * 3); let index = 0; vertices[index++] = 0; vertices[index++] = 0; vertices[index++] = 0; vertices[index++] = 0; vertices[index++] = 0; vertices[index++] = width; vertices[index++] = 0; vertices[index++] = 0; ve...
来源: Laya3.0_文档 发布时间: 20251010
...下什么原因,十分感谢。RangeError: Source is too large at Uint8Array.set (native) at Pv (file:///D:/UserSoft/layaAir2.5/workSpace/LayaTest2_5/LayaTest2_5/bin/libs/laya.physics3D.js:304:397) at Object.window.Physics3D (file:///D:/UserSoft/layaAir2.5/workSpace/LayaTest2_5/L...
来源: Laya_社区 发布时间: 20181228
...2D.create(); this.iBuffer = Laya.IndexBuffer2D.create(); this.ibData = new Uint16Array(); if(vb) { vbArray = vb; } else{ vbArray = []; var texWidth = texture.width; var texHeight = texture.height; // console.log("liuyi",texWidth); //定义颜色值,取值范围0~1浮点 var red = 1; var ...
来源: Laya_社区 发布时间: 20180619
...清0的bug 给边缘带透明像素的Image设置sizeGrid时显示异常 Uint8Array的像素数据在ios中无法改变图片纹理,安卓正常 问题状态 最新活动: 2025-07-16 09:40 浏览: 800 关注: 1 人
来源: Laya_社区 发布时间: 20250716
...y : String = ArialFontInfo _font : String = 14px ArialFontInfo _id : uintFontInfo _italic : Boolean = falseFontInfo _size : int = 14FontInfoPublic Methods MethodDefined By FontInfo(font:String)FontInfo Parse(font:String):FontInfo[static] FontInfo setFont(value:String):voidFont...
来源: Laya2.0_api 发布时间: 20190513
...为空 Texture,和Texture2D如何互转? Texture2D类getPixels()返回的uint8Array按什么格式存储的 问题状态 最新活动: 2018-11-19 14:53 浏览: 829 关注: 2 人
来源: Laya_社区 发布时间: 20181031
...染目标的像素数据,默认renderTarget的颜色为RGBA var out = new Uint8Array(2048*2048*4); renderTargetCamera.renderTarget.getData(0, 0, 2048, 2048, out); //设置纹理的填充像素像素 tex.setPixels(out); ``` 在开始渲染后,我们调整视角就可以看到拍照的效果了。 !...
来源: Laya2.0_文档 发布时间: 20210714