大约有 843 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0119 秒)
Laya_社区(489) Laya3.0_api(132) Laya2.0_api(81) laya_api(63) Laya2.0_文档(40) Laya3.0_文档(22) Laya_示例(13) Laya2.0_示例(3)
...ENE }; //定义BLINNPHONG的uniformMap var stateMap = { 's_Cull': Shader3D.RENDER_STATE_CULL, 's_Blend': Shader3D.RENDER_STATE_BLEND, 's_BlendSrc': Shader3D.RENDER_STATE_BLEND_SRC, 's_BlendDst': Shader3D.RENDER_STATE_BLEND_DST, 's_DepthTest': Shader3D.RENDER_STATE_DEPTH_TEST, 's_DepthWrite': Shader3...
来源: Laya2.0_文档 发布时间: 20210714
...鸟,自己动手处理了。 1.tiledmap中的MapLayer复写了Sprite的render方法,使用了自己的_showGridList顺序,这样在调整zorder时是调整不到的__proto.render=function(context,x,y){ var childs=this._childs; this._childs=this._showGridList; _super.prototype.render.call(this,...
来源: Laya_社区 发布时间: 20180412
...; //定义BLINNPHONG的uniformMap var stateMap: any = { 's_Cull': Shader3D.RENDER_STATE_CULL, 's_Blend': Shader3D.RENDER_STATE_BLEND, 's_BlendSrc': Shader3D.RENDER_STATE_BLEND_SRC, 's_BlendDst': Shader3D.RENDER_STATE_BLEND_DST, 's_DepthTest': Shader3D.RENDER_STATE_DEPTH_TEST, 's_DepthWrite': Shader3...
来源: Laya2.0_文档 发布时间: 20210715
...复 Monica - 知识达人 赞同来自: xuexiaorui 给box的name命名为render,或者选择它的rendertype类型为render 2017-08-06 1 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 xuexiaorui 相关问题 lay...
来源: Laya_社区 发布时间: 20170806
...ENE }; //定义BLINNPHONG的uniformMap var stateMap = { 's_Cull': Shader3D.RENDER_STATE_CULL, 's_Blend': Shader3D.RENDER_STATE_BLEND, 's_BlendSrc': Shader3D.RENDER_STATE_BLEND_SRC, 's_BlendDst': Shader3D.RENDER_STATE_BLEND_DST, 's_DepthTest': Shader3D.RENDER_STATE_DEPTH_TEST, 's_DepthWrite': Shader3...
来源: Laya2.0_文档 发布时间: 20210715
...aya.stage._canvasTransform.identity(); ts.scale((Laya.Browser.width / Laya.Render.canvas.width / Laya.Browser.pixelRatio), Laya.Browser.height / Laya.Render.canvas.height / Laya.Browser.pixelRatio); var canvas = Laya.Render._mainCanvas; var canvasStyle = canvas.source.style; canvasStyle.transform = ...
来源: Laya_社区 发布时间: 20210924
...ed这个错误:TypeError: Cannot read property 'visible' of undefined at RenderSprite3D.__proto._childs (file:///D:/Projects/Study/three/bin/h5/Main.max.js:6529:29) at Sprite.__proto.render (file:///D:/Projects/Study/three/bin/h5/Main.max.js:21868:42) at RenderSprite3D.__proto._childs (file:///D:/...
来源: Laya_社区 发布时间: 20180405
... = "#3F51B5"; this.sp = new Laya.Sprite(); Laya.stage.addChild(this.sp); } render() { console.log("render"); var l = [ 0, 0, 0, -(Laya.Browser.height >> 1), (Laya.Browser.width>>1), -(Laya.Browser.height>>1), Laya.Browser.width, -(Laya.Browser.height>>1), Laya.Browser.width, ...
来源: Laya_社区 发布时间: 20180602
... 与内容相关的链接 提交 1 个回复 大饼干 赞同来自: /** * Renders the quad */ render() { this.gl.useProgram(this.program); this.gl.bindBuffer(Laya.WebGLContext.ARRAY_BUFFER, this.vertexPositionBuffer); this.gl.enableVertexAttribArray(this.vertexPositionAttribute); this.gl.vertexAttr...
来源: Laya_社区 发布时间: 20180726
...unction(type) { alert(type) }); } ``` AS代码如下: ```javascript if ( Render.isConchApp) { Browser.window["conch"].setNetworkEvtFunction(function(type):void { alert(type) }); } ``` **返回值类为int类型** ``` NET_NO = 0; NET_WIFI = 1; NET_2G = 2; NET_3G = 3; NET_4G = 4; NET_YES = 5; ``` **...
来源: Laya2.0_文档 发布时间: 20210714