• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 26 项符合查询结果, 库内数据总量为 30,784 项。 (搜索耗时: 0.0029 秒)

21. 材质-物理基础渲染材质 [ 50%]

...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

22. laya.d3.webxr.core.WebXRSessionManager_API3.0 [ 49%]

...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

23. 为什么自定义shader大图正常,小图就被缩小了 [ 48%]

...三角形的顶点索引 } 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

24. 让 CylinderMesh 支持椎体 [ 48%]

...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

25. 自定义shader-地形shader [ 41%]

...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

26. laya.d3.core.scene.Scene3D_API3.0 [ 22%]

...。 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