大约有 26 项符合查询结果, 库内数据总量为 30,784 项。 (搜索耗时: 0.0029 秒)
...a.DataTexture2D.load(envpath + envinfoobj.prefiltedEnv); var irrdMat = new Float32Array(envinfoobj.IrradianceMat); skyDome.envDiffuseSHRed = irrdMat.slice(0, 16); skyDome.envDiffuseSHGreen = irrdMat.slice(16, 32); skyDome.envDiffuseSHBlue = irrdMat.slice(32, 48); addTestSphere(); } function addTestS...
来源: Laya_示例 发布时间: 20241123
...aged XR session Returns any supportedFrameRates get supportedFrameRates(): Float32Array | undefined Defined in laya/d3/WebXR/core/WebXRSessionManager.ts:239 A list of supported frame rates (only available in-session! Returns Float32Array | undefined Methods destroy destroy(): void Defined in laya/d3...
来源: Laya3.0_api 发布时间: 20231115
...三角形的顶点索引 } this.iNum = ibArray.length; this.vbData = new Float32Array(vbArray); this.ibData = new Uint16Array(ibArray); this.vBuffer.append(this.vbData); this.iBuffer.append(this.ibData); this.shaderValue = new myShaderValue(); this.shaderValue.textureHost = texture; this._renderType...
来源: Laya_社区 发布时间: 20180619
...vertexDeclaration=VertexPositionNormalTexture.vertexDeclaration; var vertexFloatStride=vertexDeclaration.vertexStride / 4; var vertices=new Float32Array(this._numberVertices *vertexFloatStride); var indices=new Uint16Array(this._numberIndices); var sliceAngle=(Math.PI *2.0)/ this._slices; var halfHe...
来源: Laya_社区 发布时间: 20180113
...leOffset.w);\n #endif\n}"; var ps="#ifdef FSHIGHPRECISION\nprecision highp float;\n#else\nprecision mediump float;\n#endif\n\n#include \"LightHelper.glsl\";\n\nuniform sampler2D u_SplatAlphaTexture;\nuniform sampler2D u_NormalTexture;\nuniform sampler2D u_LightMapTexture;\n\nuniform sampler2D u_Diff...
来源: Laya_示例 发布时间: 20241123
...。 Parameters value: AmbientMode Returns void ambientSH get ambientSH(): Float32Array set ambientSH(value: Float32Array): void Defined in laya/d3/core/scene/Scene3D.ts:632 ambient sh Returns Float32Array Defined in laya/d3/core/scene/Scene3D.ts:635 ambient sh Parameters value: Float32Array Returns ...
来源: Laya3.0_api 发布时间: 20231115