大约有 277 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0149 秒)
Laya_社区(197) Laya2.0_文档(34) Laya3.0_api(16) Laya3.0_文档(11) Laya2.0_api(6) Laya_示例(6) laya_api(4) Laya2.0_示例(3)
...; let gl:WebGLRenderingContext | WebGL2RenderingContext = Laya.WebGLEngine.instance.gl; let errorCode:number = gl.getError(); if(errorCode != 0) { console.log("webgl报错了,错误代码为" + errorCode); } 3 camera勾选hdr或者msaa 运行报错 webgl报错了,错误代码为 1282...
来源: Laya_社区 发布时间: 20250916
...eenPitchUp.visible=true; this.bluePitchUp.visible=false; let player=Player.instance; // player.anSk.showSlotSkinByIndex("HarmGreen",1); player.anSk.replaceSlotSkinByIndex("HarmGreen",1,0);//这里是0,0,更不行 player.anSk.replaceSlotSkinByIndex("HarmGreen",0,0);//多加这一行就解决问...
来源: Laya_社区 发布时间: 20181114
...r = camera.skyRenderer; //创建天空盒的mesh skyRenderer.mesh = SkyBox.instance; //设置天空盒材质 skyRenderer.material = mat; })); ``` 来看下效果(图2)。 (图2) #### 3. 纹理加载 加载单个纹理使用Texture2D.load方法。这里我们创建了一个正...
来源: Laya2.0_文档 发布时间: 20210715
... U _OBJC_CLASS_$_UIWebView 0000000000002620 s l_OBJC_$_PROTOCOL_INSTANCE_METHODS_OPT_UIWebViewDelegate 0000000000002688 s l_OBJC_$_PROTOCOL_METHOD_TYPES_UIWebViewDelegate 0000000000002608 s l_OBJC_$_PROTOCOL_REFS_UIWebViewDelegate 0000000000002ab0 S l_OBJC_LABEL_PROTOCOL_$_UIWebViewDelega...
来源: Laya_社区 发布时间: 20190910
...803,this._wrapModeV); this._setFilterMode(this._filterMode); var gl=LayaGL.instance; WebGLContext.bindTexture(gl,this._glTextureType,this._glTexture); var glFormat=this._getGLFormat(); if (Render.isConchApp){ source.setPremultiplyAlpha(premultiplyAlpha); gl.texImage2D(this._glTextureType,0,/*laya.we...
来源: Laya_社区 发布时间: 20190809
...ntime/indirect_reference_table.cc:113] 511 of java.lang.String (511 unique instances) 03-22 13:52:03.749 15130-15218/com.xmvigor.shyxcs A/art: art/runtime/indirect_reference_table.cc:113] 03-22 13:52:03.814 15130-15204/com.xmvigor.shyxcs D/AudioTrack: write userSize 16384 03-22 13:52:03.831 15130-...
来源: Laya_社区 发布时间: 20180322
...包native报错 如何确定自己是在Native环境中? Native下LayaGL.instance无法获取 Native 在iOS上支付失败的问题,及临时解决方法 Laya Native环境下如何生成二维码?官网提供的方案只能在浏览器下运行。因为qrcode.js依赖浏览器环境。网上...
来源: Laya_社区 发布时间: 20180201
...rivate mArmatureUnUsed:Array<Laya.Skeleton> = []; public static getInstance():DdzLandlordAni{ return this.instance(DdzLandlordAni); } public constructor(){ super(); this.initTemplet(); } public static destoryInstance(){ if(this.mInstance){ (<DdzLandlordAni>this.mInstance).destory()...
来源: Laya_社区 发布时间: 20190821
...0.0beta插件报错 NullReferenceException: Object reference not set to an instance of an object o.c (UnityEngine.GameObject A_0) (at <174bbe38e5444724b5b9eeb4600df769>:0) o.k (UnityEngine.GameObject A_0, c A_1) (at <174bbe38e5444724b5b9eeb4600df769>:0) o.a (UnityEngine.GameObject A_0, c...
来源: Laya_社区 发布时间: 20201230
...r = null; public function MsgMgr() { super(); } public static function get instance():MsgMgr { return _i ||= new MsgMgr(); } /**初始化消息监听**/ public function init():void { //接收主域透传的数据 if(MiniAdpter.isZiYu && MiniAdpter.isPosMsgYu) { __JS__('wx').onMessage(functio...
来源: Laya_社区 发布时间: 20180525