大约有 257 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0036 秒)
Laya_社区(87) Laya3.0_api(79) laya_api(30) Laya2.0_api(29) Laya3.0_文档(15) Laya2.0_文档(13) Laya_示例(4)
...Sky colorIntensity : Number 获取颜色强度。 Sky envDiffuseSHBlue : Float32Array[write-only] Sky envDiffuseSHGreen : Float32Array[write-only] Sky envDiffuseSHRed : Float32Array[write-only] Sky environmentDiffuse : BaseTexture 获取环境漫反射贴图。 Sky environmentSpecular : BaseTe...
来源: laya_api 发布时间: 20170929
...Defined in laya/ani/bone/canvasmesh/MeshData.ts:33 uv变换矩阵 uvs uvs: Float32Array = new Float32Array([0, 0, 1, 0, 1, 1, 0, 1]) Inherited from MeshData.uvs Defined in laya/ani/bone/canvasmesh/MeshData.ts:18 uv数据 vertices vertices: Float32Array = new Float32Array([0, 0, 100, 0, 100, 100, 0, ...
来源: Laya3.0_api 发布时间: 20231115
..._createColorBufferData() { //随机给20个颜色值 let colorBuffer = new Float32Array(20 * 4); for (var i = 0; i < this._colorNums; i++) { let offset = i * 4; colorBuffer[offset] = Math.random(); colorBuffer[offset + 1] = Math.random(); colorBuffer[offset + 2] = Math.random(); colorBuffer[offse...
来源: Laya3.0_文档 发布时间: 20251010
... _vlen = 8 * Laya.CONST3D2D.BYTES_PE this.position = [2, Laya.WebGLContext.FLOAT, false, _vlen, 0] this.texcoord = [2, Laya.WebGLContext.FLOAT, false, _vlen, 2 * Laya.CONST3D2D.BYTES_PE] this.color = [4, Laya.WebGLContext.FLOAT, false, _vlen, 4 * Laya.CONST3D2D.BYTES_PE] } }// 关于修改shader内...
来源: Laya_社区 发布时间: 20180531
...隆源。 Returns void forNativeElement forNativeElement(nativeElements?: Float32Array | null): void Defined in laya/d3/math/Vector2.ts:130 Parameters Default value nativeElements: Float32Array | null = null Returns void fromArray fromArray(array: ArrayLike<number>, offset?: number): void Defi...
来源: Laya3.0_api 发布时间: 20231102
...隆源。 Returns void forNativeElement forNativeElement(nativeElements?: Float32Array | null): void Defined in laya/maths/Vector2.ts:142 Parameters Default value nativeElements: Float32Array | null = null Returns void fromArray fromArray(array: ArrayLike<number>, offset?: number): void Define...
来源: Laya3.0_api 发布时间: 20231115
...script var byte = new Laya.Byte(); var byte1 = new Laya.Byte(); byte1.writeFloat32(20.0);//写入一个四个字节的浮点数 byte1.writeInt16(16);//写入一个两个字节的整数 byte1.writeUTFString("hell world");//写入一个字符串; byte.writeArrayBuffer(byte1.buffer,6);//把byte1的...
来源: Laya2.0_文档 发布时间: 20210714
....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 ShurikenParticleSystem._initBufferDa...
来源: Laya_社区 发布时间: 20211211
...Sky colorIntensity : Number 获取颜色强度。 Sky envDiffuseSHBlue : Float32Array[write-only] Sky envDiffuseSHGreen : Float32Array[write-only] Sky envDiffuseSHRed : Float32Array[write-only] Sky environmentDiffuse : BaseTexture 获取环境漫反射贴图。 Sky environmentSpecular : BaseTe...
来源: laya_api 发布时间: 20170929
...script var byte:Byte = new Byte(); var byte1:Byte = new Byte(); byte1.writeFloat32(20.0);//写入一个四个字节的浮点数 byte1.writeInt16(16);//写入一个两个字节的整数 byte1.writeUTFString("hell world");//写入一个字符串; byte.writeArrayBuffer(byte1.buffer,6);//把byte1的...
来源: Laya2.0_文档 发布时间: 20210715