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

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

1. socket大型项目回调 [ 100%]

... { uInt32 : 0, sInt32 : 0, int32 : 0, double : 1, string : 2, message : 2, float : 5 }; private static _clients:any = {}; private static _servers:any = {}; static init(protos:any):void{ this._clients = protos && protos.client || {}; this._servers = protos && protos.server || {}; } st...

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

2. 关于要自定shader的同学 [ 85%]

... _vlen = 8 * Laya.CONST3D2D.BYTES_PE this.position = [2, Laya.WebGLContext.FLOAT, false, _vlen, 0] this.texcoord = [2, Laya.WebGLContext.FLOAT, false, _vlen, 2 * Laya.CONST3D2D.BYTES_PE] this.color = [4, Laya.WebGLContext.FLOAT, false, _vlen, 4 * Laya.CONST3D2D.BYTES_PE] } }// 关于修改shader内...

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

3. shader 问题[关闭] [ 84%]

... _vlen = 8 * Laya.CONST3D2D.BYTES_PE this.position = [2, Laya.WebGLContext.FLOAT, false, _vlen, 0] this.texcoord = [2, Laya.WebGLContext.FLOAT, false, _vlen, 2 * Laya.CONST3D2D.BYTES_PE] this.color = [4, Laya.WebGLContext.FLOAT, false, _vlen, 4 * Laya.CONST3D2D.BYTES_PE] } }     sprite.customRende...

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

4. 分享一个Shader版的CoolDown实现 [ 83%]

...            var ps: string = " \             precision mediump float; \             varying vec2 v_texcoord; \             varying vec4 v_color; \             uniform sampler2D texture; \             uniform float progress;\             uniform vec4 uv_info;...

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

5. laya.utils.Byte传输64位long如何传 [ 83%]

...下没有提供这个接口,建议开发者自己拓展一个或者使用float64替代。 2016-12-26 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 liujunjie2009 相关问题 LayaNative使用socket传输数据注意事项 想问一下l...

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

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

...exPositionAttribute, this.vertexPositionBuffer.itemSize, Laya.WebGLContext.FLOAT, 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 cor...

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