大约有 192 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0030 秒)
Laya_社区(77) Laya3.0_api(41) Laya2.0_api(29) laya_api(23) Laya2.0_文档(11) Laya3.0_文档(9) Laya2.0_示例(1) Laya_示例(1)
...的链接 提交 1 个回复 cuixueying 赞同来自: 使用int/Number/uint须知 (1)、Number赋值int注意事项描述: 在JS中Number赋值给int不会自动取整,因此,确定需要整型(在转换后)、数组下标或整形做相等判断时,需要在AS3中用int取...
来源: Laya_社区 发布时间: 20151203
...Byte var byte = new Laya.Byte(); //或者传入一个类型化数组 var uint8Byte = new Uint8Array(10); var byte = new Laya.Byte(uint8Byte); //或者传入一个ArrayBuffer类型 var buffer = new ArrayBuffer(20); var byte = new Laya.Byte(buffer); ``` - **writeArrayBuffer**(arraybuffer, offset, ...
来源: Laya2.0_文档 发布时间: 20210714
Uint8Array的像素数据在ios中无法改变图片纹理,安卓正常 laya版本:2.8.0 设备:iphone7 ios版本:7.0.21 ios的浏览器以及小游戏平台都不行 demo已经上传附件 附件 : --> demo.zip 2021-01-18 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20210118
使用webgl之后,sprite.drawToCanvas返回了Uint8Array 如题,按照你们的文档,http://layaair.ldc.layabox.com ... anvas() 应该返回HTMLCanvas,但事实上不会。 看源码,laya.core.js,启用webgl.enable里修改了drawToCanvas的实现,返回的是pixels。 所以...
来源: Laya_社区 发布时间: 20170523
...目标显示对象添加或移除灰度滤镜。 UIUtils toColor(color:uint):String[static] 转换uint类型颜色值为字符型颜色值。 UIUtilsPublic Constants ConstantDefined By escapeSequence : Object[static] 需要替换的转义字符表 UIUtilsMethod DetailaddFilter()method public ...
来源: Laya2.0_api 发布时间: 20190513
...目标显示对象添加或移除灰度滤镜。 UIUtils toColor(color:uint):String[static] 转换uint类型颜色值为字符型颜色值。 UIUtilsPublic Constants ConstantDefined By escapeSequence : Object[static] 需要替换的转义字符表 UIUtilsMethod DetailaddFilter()method public ...
来源: laya_api 发布时间: 20170929
texture2d的getPixels()返回结构Uint8Array|Float32Array 如何转换为Float32Array格式 2020-01-07 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复问题请先...
来源: Laya_社区 发布时间: 20200107
protobuf.js浏览器encode后得到uint8array,转化成的arraybuffer达到8192bytes 截图中的buf.buffer 达到8192bytes, 协议体内容改变后也是一样的。 附件 : --> 2018-02-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20180226
...Float32Array readFloat64 readInt16 readInt16Array readInt32 readString readUint16 readUint32 readUint8 readUint8Array writeArrayBuffer writeByte writeFloat32 writeFloat64 writeInt16 writeInt32 writeUTFBytes writeUTFString writeUTFString32 writeUint16 writeUint32 writeUint8 getSystemEndian Constructo...
来源: Laya3.0_api 发布时间: 20231115
...Public Properties PropertyDefined By _drawStyle : *Color numColor : uint uint 型颜色值。Color strColor : String 字符串型颜色值。ColorPublic Methods MethodDefined By Color(str:*) 根据指定的属性值,创建一个 Color 类的实例。 Color create(str:*):Color[sta...
来源: laya_api 发布时间: 20170422