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

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

51. 想用camera做一个类似照相机的功能 [ 63%]

...           this.renderTargetCamera.renderTarget = new RenderTexture(Laya.stage.width, Laya.stage.height);             //渲染顺序             this.renderTargetCamera.renderingOrder = -1;             //清除标记             this.r...

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

52. material材质平铺 [ 63%]

material材质平铺 建了一个3D的平面模型,用的是Laya.Texture2D.load加载的图片纹理, 然后给它加了一个var material = new Laya.StandardMaterial();材质 material 创建的贴图材质,这样能平铺吗? var plane = this.scene.addChild(new Laya.MeshSprite3D(new Laya.P...

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

53. Unity粒子系统导出支持列表(TypeScript-3D基础(TS)-LayaAir3D之Unity插件使用) [ 63%]

...) 1. Separate Axes - Constant - Curve - Random betweem Two Constants - ### Texture Sheet Animation module ![Texture Sheet Animation module](./img/Particle_System/PartSysTexSheetAnimModule-0.png) 1. Tiles 2. Animation - Single Row - whole Sheet 3. Animation - Single Row - Random Row 4. Time Mode - Fr...

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

54. LayaAir3D 导出和使用U3D粒子特效 [ 63%]

...ed Rotation by Speed External Forces Noise Collision Triggers Sub Emitters Texture Sheet Animation -> Enabled UV Channels -> Nothing, Everything, UV1, UV2, UV3 Lights Trails 2016-12-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...

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

55. 设置遮罩会导致内存大大增高 [ 62%]

...内容相关的链接 提交 1 个回复 郭兆奎 赞同来自: S_eVent texture缓存机制现在有问题,对于这种随时变化大小的对象会一直缓存,导致内存泄露,临时绕过方法是: laya.core.js中修改WebGLRTMgr.releaseRT WebGLRTMgr.releaseRT=function(rt){ if (rt._m...

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

56. 继承自Laya.BaseMaterial并且自定义Shader的的自定义材质如何设置透明渲染 [ 61%]

...aderName("CMatShader"); } public SetMainTex(value) { this._shaderValues.setTexture(CMat._mainTex, value); } public SetMainCol(value) { this._shaderValues.setVector3(CMat._mainCol, value); } /** * 设置渲染相关状态。 */ private static initShader(): void { var attributeMap:Object = { 'a_Positi...

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

57. 我照着例子做的换装例子切换不了卡槽的图片,附件为我的demo,请帮忙看看 [ 61%]

...不了卡槽的图片,附件为我的demo,请帮忙看看 if (this.currTexture && Render.isWebGL && this.currDisplayData.type==0 && this.currDisplayData.uvs){ this.currTexture=this.currDisplayData.createTexture(this.currTexture); } 跟代码发现this.currDisplayData.uvs...

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

58. RenderTexture 无法再image上显示 [ 61%]

RenderTexture 无法再image上显示     this.modelCamera.clearFlag = Laya.CameraClearFlags.SolidColor;           this.modelCamera.clearColor = new Laya.Vector4(0, 0, 0, 0);           this.modelCamera.renderTarget = new Laya.RenderTexture(512, 512, Laya.RenderTextureFormat.R8G8B8A8, La...

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

59. laya.resource.NativeContext_API3.0 [ 60%]

...Methods _drawCircle _drawLine _drawLines _drawPath _drawPie _drawPoly _drawTextureM _init _need _rotate _scale _transform addRenderObject3D add_String add_i add_i_String add_if add_iff add_iffff add_ifffff add_iffffff add_iffffffif add_ifffffiiiif add_ifffiiiif add_iffif add_iffif_ab add_iffiiiifi a...

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

60. 修改了Scene下的WebGL参数导致渲染3D对象出现局部透明 [ 59%]

...AT, false, 0, 0 ); this.gl.bindBuffer(Laya.WebGLContext.ARRAY_BUFFER, this.textureCoordBuffer); // Check the current orientation of the device combined with the // orientation of the VRSeeThroughCamera to determine the correct UV // coordinates to be used. const combinedOrientation = combineOrientat...

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