大约有 85 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0044 秒)
... this.renderTargetCamera.renderTarget = new RenderTexture(Laya.stage.width, Laya.stage.height); //渲染顺序 this.renderTargetCamera.renderingOrder = -1; //清除标记 this.r...
来源: Laya_社区 发布时间: 20200529
material材质平铺 建了一个3D的平面模型,用的是Laya.Texture2D.load加载的图片纹理, 然后给它加了一个var material = new Laya.StandardMaterial();材质 material 创建的贴图材质,这样能平铺吗? var plane = this.scene.addChild(new Laya.MeshSprite3D(new Laya.P...
来源: Laya_社区 发布时间: 20180125
...) 1. Separate Axes - Constant - Curve - Random betweem Two Constants - ### Texture Sheet Animation module  1. Tiles 2. Animation - Single Row - whole Sheet 3. Animation - Single Row - Random Row 4. Time Mode - Fr...
来源: Laya2.0_文档 发布时间: 20200822
...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
...内容相关的链接 提交 1 个回复 郭兆奎 赞同来自: S_eVent texture缓存机制现在有问题,对于这种随时变化大小的对象会一直缓存,导致内存泄露,临时绕过方法是: laya.core.js中修改WebGLRTMgr.releaseRT WebGLRTMgr.releaseRT=function(rt){ if (rt._m...
来源: Laya_社区 发布时间: 20190704
...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
...不了卡槽的图片,附件为我的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
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
...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
...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