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

大约有 148 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0046 秒)

121. [LayaNative3]new CommondBuffer 没有回收释放,每次用完,直接给置成null,每次buffermemory都会增长,不会下降 [ 49%]

..._curDrawMeshInstancedCMD = cmd.drawMeshInstance(this._mesh,0,this.transformMatrices,this._mat,0,this.materialBlock,this.transformMatrices.length); 这个方法中拿到这个DrawMeshInstancedCMD对象,然后执行recover,发现逻辑bug,如附件中贴图所示,回收对象池的时候把对...

来源: Laya_社区 发布时间: 20250717

122. Mesh模型能否动态合并? [ 49%]

...ddChild(new Laya.MeshSprite3D(xxxx)); //加载材质 layaMonkey.meshRender.material = mat; layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //Laya.timer.frameLoop(1, this, function () { // layaMonkey....

来源: Laya_社区 发布时间: 20180329

123. 资源加载(JavaScript-3D基础(JS)-LayaAir3D之资源加载) [ 48%]

... 2. 材质加载 在单个材质进行加载的时候,我们使用的BaseMaterial.load方法。在这次示例里,我们加载了一个天空盒给上面的示例摄影机加上。 ```typescript //材质加载 Laya.BaseMaterial.load("res/threeDimen/skyBox/skyBox2/skyBox2.lmat", Laya.Handler.crea...

来源: Laya2.0_文档 发布时间: 20210715

124. [LayaAir3]3.3 beta3 ios 15pro偶尔材质会变黑 [ 48%]

...art #defineGLSL LitVS     #define SHADER_NAME slicePBR      #include "Math.glsl";      #include "Scene.glsl";     #include "SceneFogInput.glsl"      #include "Camera.glsl";     #include "Sprite3DVertex.glsl";      #include "VertexCommon.glsl";      #include "PBRVertex.glsl";  ...

来源: Laya_社区 发布时间: 20250428

125. 资源加载(TypeScript-3D基础(TS)-LayaAir3D之资源加载) [ 48%]

... 2. 材质加载 在单个材质进行加载的时候,我们使用的BaseMaterial.load方法。在这次示例里,我们加载了一个天空盒给上面的示例摄影机加上。 ```typescript //材质加载 Laya.BaseMaterial.load("res/threeDimen/skyBox/skyBox2/skyBox2.lmat", Laya.Handler.crea...

来源: Laya2.0_文档 发布时间: 20210715

126. laya.d3.math.Matrix4x4 [ 48%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames Matrix4x4Properties | Methods | Constants Packagelaya.d3.mathClasspublic class Matrix4x4InheritanceMatrix4x4 ObjectImplements laya.d3.core.IClone Matrix4x4 类用于创建4x4矩阵。 Public Properties PropertyDefined By...

来源: Laya2.0_api 发布时间: 20190513

127. 一些对Laya的FBXTools的需求 [ 47%]

...本用。提供一个开关,允许用户选择只要输出fbx的lm或者material或者ani。有时候项目用的是一套bindpose的模型配独立的若干个动画的fbx,那些动画的fbx所导出的lh/lm/mat不需要。提供一个开关,允许用户强制指定把根节点的绕X轴的90...

来源: Laya_社区 发布时间: 20160924

128. laya.maths.Quaternion_API3.0 [ 47%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Quaternion" Quaternion Class Quaternion Quaternion 类用于创建四元数。 Hierarchy Quaternion Implements IClone Index Constructors constructor Properties w x y z DEFAULT NAN Methods clone cloneTo equals forNativeE...

来源: Laya3.0_api 发布时间: 20231115

129. laya.d3.math.Quaternion_API3.0 [ 46%]

...blic/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Quaternion" Quaternion Class Quaternion Quaternion 类用于创建四元数。 Hierarchy Quaternion Implements IClone Index Constructors constructor Properties w x y z DEFAULT NAN Methods clone cloneTo equals forNativeEl...

来源: Laya3.0_api 发布时间: 20231102

130. 请教下, 自己写了个渐变色shader, 但是效果始终不对。麻烦大神们看看代码哪里有问题 [ 46%]

...a_Position': Laya.VertexElementUsage.POSITION0 }; var uniformMap = { 'u_MvpMatrix': [Laya.Sprite3D.MVPMATRIX, Laya.Shader3D.PERIOD_MATERIAL], 'u_StartColor':[Laya.VertexElementUsage.STARTCOLOR0,Laya.Shader3D.PERIOD_MATERIAL], 'u_EndColor':[Laya.VertexElementUsage.ENDCOLOR0,Laya.Shader3D.PERIOD_MATER...

来源: Laya_社区 发布时间: 20180316